BASS

BASS_RecordGetInfo


Retrieves information on the recording device being used.

BOOL BASS_RecordGetInfo(
    BASS_RECORDINFO *info
);

Parameters

infoPointer 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_INITBASS_RecordInit has not been successfully called.

Example

Check if the current device can have multiple inputs enabled.
BASS_RECORDINFO info;
BASS_RecordGetInfo(&info;);
if (!info.singlein) {
    // device does allow multiple inputs to be enabled
}

See also

BASS_RecordGetDeviceInfo, BASS_RECORDINFO structure