Sets the direct input monitoring state.

    int input,
    DWORD output,
    DWORD gain,
    DWORD state,
    DWORD pan


inputThe input to set the monitoring state of... -1 = all.
outputThe suggested output for the monitoring.
gainSuggested output gain... ranging 0 (silent) - 0x7FFFFFFF (+12 dB), 0x20000000 = 0 dB.
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!


Not all devices/drivers support monitoring. The output, gain and pan settings are also just suggestions, and may be ignored by the device/driver.