Control audio volume with hardware buttons while audio is not playing
Hi all, I have an application that plays various audio clips. While the clips are playing, the user can use the hardware volume buttons to adjust the volume. Is there any way to get those hardware buttons to do the same when a sound is not playing?
I am using the AudioToolbox framework. My app works on 2.1 and higher and I'd preferably like to keep it that way (which means I won't be using the AVAudioPlayer framework). Any help or suggestions would be greatly appreciated.
|