Retrieves information on the device being used.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Syntax
Parameters
- info
- Type: Un4seen.BassBASS_INFO
An instance of the BASS_INFO class to store the information at.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
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 = new BASS_INFO(); if (Bass.BASS_GetInfo(info)) Console.WriteLine( info.ToString() ); }
See Also