开发者

How can i increase or decrease the volume gradually using sound fading option?

开发者 https://www.devze.com 2023-04-02 05:40 出处:网络
i am new to android . I have a small problem in my application.i am doing a alarm application ,in that application one option like this \"sound fade in\".

i am new to android . I have a small problem in my application.i am doing a alarm application ,in that application one option like this "sound fade in". What is the meaning of "sound fade in". I think the ringing volume of alarm tone is gradually increasing for the given period of time. Am i correct?开发者_如何学运维 then i can i achieve this sound fade in.. please help me if you can....


Everything you need in the the AudioManager class. You can look at the source code of the Music application to get a sample of how to fade out the sound. I can't give you a link right now as the Android Git is not working for now :(.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号