0
0

The docs for FSOUND_SetVolume() say that the level can be set from 0 (silent) to 255 (full volume). I want to Increase the volume of a stream above normal. Trials show that this cannot be done (somewhat expected).

Is it be possible to remove the restriction and be allowed to increase the volume of a specified channel above normal – I don’t care about interpolation errors, just louder. The example of using _SetVolumeAbsolute() is not appropriate as I may need to do this on many/all streams.

Failing that, how do I create my own DSP which can be placed onto the stream to replace the default volume controller?

Ian

  • You must to post comments
0
0

Hey,
I’ve solved this by creating my own dsp that just multiplies each sample with a certain number.
I have another function to set this number between 0.0 and 2.0, or whatever. (1.0 is default volume)
The only problem is that a stream callback has a larger buffer (100 or 200 ms), but you will be able to change the buffer size in the next version.
I think you can find out how to create such a dsp by looking at the examples included with fmod.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.