BASS_GetInfo
Retrieves information on the device being used.
BOOL BASS_GetInfo(
BASS_INFO *info
);
Parameters
info | Pointer to a structure to receive the information.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use
BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_INIT | BASS_Init has not been successfully called.
|
Remarks
When using multiple devices, the current thread's device setting (as set with
BASS_SetDevice) determines which device this function call applies to.
Example
Check if the current device has DirectSound support.
BASS_INFO info;
BASS_GetInfo(&info;);
if (info.flags&DSCAPS;_EMULDRIVER) {
// device does NOT have DirectSound support
}
See also
BASS_GetDeviceInfo,
BASS_INFO structure