BASS.NET API for the Un4seen BASS Audio LibraryUn4seen.BassAsio NamespaceBASS.NET API for the Un4seen BASS Audio Library
This namespace contains all classes, delegates and enumerations to support the native bassasio.dll. BASSASIO makes it simple to use ASIO hardware, drivers, and can be used with or without BASS.

All BASSASIO API calls are contained in the main class BassAsio and have been implemented as static methods. So there is NO need to create an instance of the BassAsio class!

All BASSASIO structures have been implemented as real classes (named in capital letters). This because they are much easier to use and reflect exactly what BASSASIO would expect. Those classes needs to be instantiated before their use.

Beside using the native BassAsio methods you might also use the BassAsioHandler class which contains ready-made members for direct and more simple ASIO usage together with a BASS channel.

Classes

  ClassDescription
Public classASIOChannelControls
Used with BASS_ASIO_Future(Int32, IntPtr) and the Get/SetInput resp. Get/SetOutput selector.
Public classASIOInputMonitor
Used with BASS_ASIO_Future(Int32, IntPtr) and the SetInputMonitor selector.
Public classASIOIoFormat
Used with BASS_ASIO_Future(Int32, IntPtr) and the DSD IoFormat selector.
Public classASIOTransportParameters
Used with BASS_ASIO_Future(Int32, IntPtr) and the Transport selector.
Public classBASS_ASIO_CHANNELINFO
Used with BASS_ASIO_ChannelGetInfo(Boolean, Int32, BASS_ASIO_CHANNELINFO) to retrieve information on the current device.
Public classBASS_ASIO_DEVICEINFO
Used with BASS_ASIO_GetDeviceInfo(Int32, BASS_ASIO_DEVICEINFO) to retrieve information on an asio device.
Public classBASS_ASIO_INFO
Used with BASS_ASIO_GetInfo(BASS_ASIO_INFO) to retrieve information on the current device.
Public classBassAsio
.NET API wrapper for BASSASIO.DLL

Requires: bassasio.dll - ASIO driver library - available @ www.un4seen.com.

Public classCode exampleBassAsioHandler
This class provides ready-made members for direct and more simple ASIO usage together with BASS channels.
Public classBassAsioHandlerEventArgs
EventArgs class to be passed as the second parameter of a Notification event handler.
Delegates

  DelegateDescription
Public delegateASIONOTIFYPROC
User defined notification callback function (to be used with BASS_ASIO_SetNotify(ASIONOTIFYPROC, IntPtr)).
Public delegateCode exampleASIOPROC
User defined ASIO channel callback function (to be used with BASS_ASIO_ChannelEnable(Boolean, Int32, ASIOPROC, IntPtr)).
Public delegateBassAsioHandlerBassAsioHandlerEventHandler
Definition of the Notification event handler.
Enumerations

  EnumerationDescription
Public enumerationBASSASIOActive
BassAsio active values return by BASS_ASIO_ChannelIsActive(Boolean, Int32).
Public enumerationBASSASIOFormat
Public enumerationBASSASIOFuture
BassAsio Future values that might be used with the BASS_ASIO_Future(Int32, IntPtr) method.

Note: Other/Additional values might be possible - see your drivers manual for details.

Public enumerationBassAsioHandlerSyncType
Types of event that has occurred with the BassAsioHandler class.
Public enumerationBASSASIOInit
Initialization flags to be used with BASS_ASIO_Init(Int32, BASSASIOInit)
Public enumerationBASSASIONotify
BassAsio notify values as used in the ASIONOTIFYPROC.
Public enumerationBASSASIOReset
BassAsio attributes to be used when to reset a channel with BASS_ASIO_ChannelReset(Boolean, Int32, BASSASIOReset).