BASS.NET API for the Un4seen BASS Audio LibraryUn4seen.BassWasapi NamespaceBASS.NET API for the Un4seen BASS Audio Library
This namespace contains all classes, delegates and enumerations to support the native basswasapi.dll. BASSWASAPI makes it simple to use the new Windows CoreAudio driver model as introduced with Vista/Windows7.

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

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

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

Classes

  ClassDescription
Public classBASS_WASAPI_DEVICEINFO
Used with BASS_WASAPI_GetDeviceInfo(Int32, BASS_WASAPI_DEVICEINFO) to retrieve information on a Wasapi device.
Public classBASS_WASAPI_INFO
Used with BASS_WASAPI_GetInfo(BASS_WASAPI_INFO) to retrieve information on the current device.
Public classBassWasapi
.NET API wrapper for BASSWASAPI.DLL

Requires: basswasapi.dll - Windows Audio Session API driver library - available @ www.un4seen.com.

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

  DelegateDescription
Public delegateBassWasapiHandlerBassWasapiHandlerEventHandler
Definition of the Notification event handler.
Public delegateWASAPINOTIFYPROC
User defined notification callback function.
Public delegateWASAPIPROC
User defined WASAPI output/input processing callback function (to be used with BASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr)).
Enumerations

  EnumerationDescription
Public enumerationBASSWASAPIDeviceInfo
BassWasapi device info flags to be used with BASS_WASAPI_DEVICEINFO and BASS_WASAPI_GetDeviceInfo(Int32, BASS_WASAPI_DEVICEINFO).
Public enumerationBASSWASAPIDeviceType
BassWasapi device info types to be used with BASS_WASAPI_DEVICEINFO and BASS_WASAPI_GetDeviceInfo(Int32, BASS_WASAPI_DEVICEINFO).
Public enumerationBASSWASAPIFormat
BassWasapi sample formats to be used with BASS_WASAPI_INFO and BASS_WASAPI_GetInfo(BASS_WASAPI_INFO).
Public enumerationBassWasapiHandlerSyncType
Types of event that has occurred with the BassWasapiHandler class.
Public enumerationBASSWASAPIInit
Public enumerationBASSWASAPINotify
BassWasapi sample formats to be used with BASS_WASAPI_INFO and BASS_WASAPI_GetInfo(BASS_WASAPI_INFO).
Public enumerationBASSWASAPIVolume