About vol0virtualvol

I know myChannel will be muted in the following code:

advancedSettings.vol0virtualvol = 0.5f;
...
FMOD_Channel_SetVolume(myChannel, 0.5f);

But what if myChannel’s volume is set to 1.0f but the sound source is quiet and its real output level is below 0.5f?

I tested this myself and found vol0virtualvol doesn’t apply in this case, but I’m just asking to ensure.

The vol0virtualvol value is compared against the audibility calculation of a Channel, which involves more than just the Channel’s volume.
So if Channel::getAubilitiy returns < 0.5f then the Channel should be virtual.

1 Like

Now I get it. Thanks!

1 Like