BASS_ASIO_Monitor


Sets the direct input monitoring state.

BOOL BASS_ASIO_Monitor(
    int input,
    DWORD output,
    DWORD gain,
    DWORD state,
    DWORD pan
);

Parameters

inputThe input to set the monitoring state of... -1 = all.
outputThe suggested output for the monitoring.
gainSuggested output gain... ranging 0 (silent) - 0x7FFFFFFF (+12dB), 0x20000000 = 0dB.
stateMonitoring state... 0 = off, 1 = on. Other settings may be possible depending on the drivers.
panSuggested 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_INITBASS_ASIO_Init has not been successfully called.
BASS_ERROR_UNKNOWNSome 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.