Currently I capture the volume keys and have them affect the FMOD volume. What I’d prefer to do instead is just have the device hardware volume controls bring up the standard system’s volume box and control the device’s master volume, separate from the FMOD volume.
I tried setting [code:1cw3oo11]setVolumeControlStream(AudioManager.STREAM_MUSIC);[/code:1cw3oo11] in the Activity’s OnCreate() but it’s not doing anything.
Any suggestion on how I can accomplish this? Thanks,
- pszNicx asked 7 years ago
How did you excat solve your problem? Because I’ve something similar to solve. I like to read out the phones current ring volume and set this volume to the FMOD master volume. How can I achieve this without touching every single Channel-Group? Is this possible?
- brunntho answered 6 years ago
FMOD plays on the MUSIC stream, so setting the hardware controls to that stream will affect FMOD too.
The normal usage would be to leave the hardware buttons controlling all device audio and provide software volume control for your application effects and music (via channel groups).
I’m not sure if you can achieve the result of lowering all volumes except the application volume
Please login first to submit.