BASS_ASIO_Monitor
Sets the direct input monitoring state.
BOOL BASS_ASIO_Monitor(
int input,
DWORD output,
DWORD gain,
DWORD state,
DWORD pan
);
Parameters
input | The input to set the monitoring state of... -1 = all.
|
output | The suggested output for the monitoring.
|
gain | Suggested output gain... ranging 0 (silent) - 0x7FFFFFFF (+12 dB), 0x20000000 = 0 dB.
|
state | Monitoring state... 0 = off, 1 = on. Other settings may be possible depending on the drivers.
|
pan | Suggested output pan... 0 = left, 0x7FFFFFFF = right.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_INIT | BASS_ASIO_Init has not been successfully called.
|
BASS_ERROR_UNKNOWN | Some other mystery problem!
|
Remarks
Not all devices/drivers support monitoring. The output, gain and pan settings are also just suggestions, and may be ignored by the device/driver.