BassWasapi sample formats to be used with BASS_WASAPI_INFO and BASS_WASAPI_GetInfo(BASS_WASAPI_INFO).
Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
BASS_WASAPI_NOTIFY_ENABLED | 0 | The device's status has changed, ie. it has been enabled. The new status is also available from BASS_WASAPI_GetDeviceInfo(Int32, BASS_WASAPI_DEVICEINFO). | |
BASS_WASAPI_NOTIFY_DISABLED | 1 | The device's status has changed, ie. it has been disabled. The new status is also available from BASS_WASAPI_GetDeviceInfo(Int32, BASS_WASAPI_DEVICEINFO). | |
BASS_WASAPI_NOTIFY_DEFOUTPUT | 2 | The device is now the default input device. | |
BASS_WASAPI_NOTIFY_DEFINPUT | 3 | The device is now the default input device. | |
BASS_WASAPI_NOTIFY_FAIL | 256 |
The device has failed and been stopped.
If the device is still enabled and shared mode was being used, then it may be that the device's sample format has changed. It can be freed and reinitialized, with BASS_WASAPI_Free and BASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr), to resume in that case. |
See Also