Retrieves information on the device being used.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Return Value
Type: BASS_INFOAn instance of the BASS_INFO class on success - or on error.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) has not been successfully called. |
Examples
if ( Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, this.Handle) ) { BASS_INFO info = Bass.BASS_GetInfo(); if (info != null && !info.SupportsDirectSound) Console.WriteLine("Device does NOT have DirectSound support"); }
See Also