Unknown
From BASS WAS API
BASS_WASAPI_GetDeviceLevel
Retrieves the level (peak amplitude) of a device.
float BASS_WASAPI_GetDeviceLevel(
DWORD device,
int chan
);
Parameters
| device | The device to get the level from. |
| chan | The channel to get the level of... 0 = first channel, -1 = all channels. |
Return value
If successful, the level is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.Error codes
| BASS_ERROR_WASAPI | WASAPI is not available. |
| BASS_ERROR_DEVICE | device is not valid. |
| BASS_ERROR_DRIVER | The device driver does not support level retrieval. |
| BASS_ERROR_ILLPARAM | chan is not valid. |
| BASS_ERROR_UNKNOWN | Some other mystery problem! |