I came to the forum to ask the exact same question. For what it’s worth, FMUSIC_SetMasterVolume makes absolutely no difference in volume when I use it. I have verified the call is returning True, and if I call FMUSIC_GetMasterVolume I am seeing the value I set it to. Even if I set it to 0 it still sounds the same. This is a bit of a problem in game since the midi sound is overpowering everything else. 😕
I’ve got the same problem.
The flag FSOUND_INIT_USEDEFAULTMIDISYNTH turns the software-decoding on. (help-file: 0x01 /* Causes MIDI playback to force software decoding. */ )
Then all works fine here, the volume can be changed with FMUSIC_SetMasterVolume().
But if I want to use hardware-MIDI-playback, and leave out the flag, I hear the MIDI-Song and can change the Music-volume-value, but without any hearable effect.
Perhaps it is really a bug?
Ok pity about the DSP thing but…
I have been trying to use FMUSIC_MasterVolume for 5 different midi files, tried it on all available devices on my computer, but none have any effect: FMUSIC_SetMasterVolume doesn’t work with me for midi’s. The same code works when I load a module type of file though.
- doggo18 answered 16 years ago
Please login first to submit.