BASS_CONFIG_GVOL_MUSIC config option

The global MOD music volume level.

BASS_SetConfig(
    BASS_CONFIG_GVOL_MUSIC,
    DWORD volume
);

Parameters

volumeMOD music global volume level... 0 (silent) to 10000 (full).

Remarks

This config option allows you to have control over the volume levels of all the MOD musics, which may be useful for setup options, eg. separate music and effect volume controls.

A channel's final volume = channel volume x global volume / 10000. For example, if a stream's volume is 0.5 and the global stream volume is 8000, then effectively the stream's volume level is 0.4 (0.5 x 8000 / 10000 = 0.4).

See also

BASS_GetConfig, BASS_SetConfig, BASS_ATTRIB_VOL, BASS_CONFIG_GVOL_SAMPLE, BASS_CONFIG_GVOL_STREAM