BASS.NET API for the Un4seen BASS Audio LibraryBassAsioHandlerDispose Method BASS.NET API for the Un4seen BASS Audio Library
Disposes an instance of this class also unjoining and disabling all used ASIO channels.

Namespace: Un4seen.BassAsio
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public void Dispose()
Remarks

The used ASIO channel(s) will be unjoined and disabled! This means, that the ASIO device needs to stopped for a short moment!

Caution: Once you created an instance of this class, the respective ASIO channel(s) are joined and enabled. Calling this method will automatically unjoin and disable the used ASIO channels as well as the full-duplex and mirror channels will be removed and disabled! If you want to prevent this little break in the ASIO device (since the ASIO device needs to be stopped for a short moment) make sure this method is never called during the device is started.

Also if you want to leave all ASIO channels enabled (even if you do not need this instance anymore) do NOT call this method! In such case you might call RemoveMirror and RemoveFullDuplex(Boolean) manually if needed, and you might also call BASS_ASIO_ChannelEnable(Boolean, Int32, ASIOPROC, IntPtr) or BASS_ASIO_ChannelReset(Boolean, Int32, BASSASIOReset) manually.

See Also

Reference