BASS_WASAPI_GetMute
Retrieves the muted status of the device.
BOOL BASS_WASAPI_GetMute(
DWORD mode
);
Parameters
mode | The type of volume to get.
BASS_WASAPI_VOL_SESSION | Get the session volume, else the device volume. |
|
Return value
If successful, then TRUE or FALSE is returned to indicate the muted status, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_INIT | BASS_WASAPI_Init has not been successfully called.
|
BASS_ERROR_NOTAVAIL | Volume control is unavailable.
|
BASS_ERROR_UNKNOWN | Some other mystery problem!
|
Remarks
When using multiple devices, the current thread's device setting (as set with BASS_WASAPI_SetDevice) determines which device this function call applies to.
See also
BASS_WASAPI_SetMute