BASS_SetVolume

Sets the digital output master volume.

BOOL WINAPI BASS_SetVolume(
    DWORD volume
);

Parameters
volumeThe volume level... 0 (min) - 100 (max).

Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes
BASS_ERROR_INIT BASS_Init has not been successfully called.

Remarks
The "digital output master volume" affects the output level of all samples/streams/musics, but not the CD audio. To adjust the CD volume level use BASS_ChannelSetAttributes.

See also
BASS_GetVolume