I’am using MiniFmod in an application of mine and would like to know if it’s possible to change the output volume.
I’ve already tried everything but can’t get it to work, so if anyone knows how to do it then please let me know.
Look at the following source line (in Fmusic.c):
[code:3hdyaq7e]hr = waveOutOpen(&FSOUND_WaveOutHandle, WAVE_MAPPER, &pcmwf, 0, 0, 0);[/code:3hdyaq7e]
Save that HWAVEOUT pointer (or even return it from FMUSIC_PlaySong) and use it anytime you want to change the volume through WINMM: waveOutSetVolume API function.
- Quantum answered 13 years ago
Please login first to submit.