Retrieves information on the Asio device being used.
Namespace: Un4seen.BassAsio
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bassasio")] public static bool BASS_ASIO_GetInfo( BASS_ASIO_INFO info )
Parameters
- info
- Type: Un4seen.BassAsioBASS_ASIO_INFO
An instance of the BASS_ASIO_INFO class to store the information at.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_ASIO_Init(Int32, BASSASIOInit) has not been successfully called. |
Examples
BassAsio.BASS_ASIO_Init(0, BASSASIOInit.BASS_ASIO_THREAD); BASS_ASIO_INFO info = new BASS_ASIO_INFO(); if ( BassAsio.BASS_ASIO_GetInfo(info) ) { Console.WriteLine( info.ToString() ); }
See Also