BASS_RecordFree

Frees all resources used by the recording device.

BOOL BASS_RecordFree();

Return value

If successful, then 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.

Remarks

This function should be called for all initialized recording devices before your program exits. It is not necessary to individually free a device's current recordings first, as they are automatically freed by this function.

Do not call this function from within a callback function, particularly one relating to the same device. When using multiple recording devices, the current thread's device setting (as set with BASS_RecordSetDevice) determines which device this function call applies to.

See also

BASS_RecordInit