I need to increase progressively the volume of a sound while the sound is playing.
What I found till now, is to use the setStreamVolume() method of the AudioManager class. This works great but it allows me to specify the volume from 0 to 9 range. However, I want to increase the volume by smaller units, from 0 – 99.
Is there a way to accomplish this task?
I managed to do this with AudioTrack