BASS_CONFIG_GVOL_STREAM config option

The global stream volume level.

BASS_SetConfig(
    BASS_CONFIG_GVOL_STREAM,
    DWORD volume
);

Parameters

volumeStream global volume level... 0 (silent) to 10000 (full).

Remarks

This config option allows you to have control over the volume levels of all the streams, 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_MUSIC, BASS_CONFIG_GVOL_SAMPLE