Sets the global music/sample/stream volume levels.
void WINAPI BASS_SetGlobalVolumes( |
Parameters
musvol | MOD music global volume level... 0 (silent) - 100 (max), -1 = leave current. |
samvol | Sample global volume level... 0 (silent) - 100 (max), -1 = leave current. |
strvol | Stream global volume level... 0 (silent) - 100 (max), -1 = leave current. |
Remarks
This function allows you to have control over the volume levels of all the MOD musics, samples and streams, which is useful for setup options (eg. seperate music and fx volume controls).
A channel's final volume = channel volume * global volume / 100. So, for example, if a stream channel's volume is 50 and the global stream volume is 80, then effectively the stream's volume level is 40 (50 * 80 / 100 = 40).