BASS.NET API for the Un4seen BASS Audio Library

BassBASS_RecordGetInfo Method (BASS_RECORDINFO)

BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on the recording device being used.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.18.2
Syntax

[DllImportAttribute("bass")]
public static bool BASS_RecordGetInfo(
	BASS_RECORDINFO info
)

Parameters

info
Type: Un4seen.BassBASS_RECORDINFO
An instance of the BASS_RECORDINFO class to store the information at.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

There is no need to initialize any size member of the BASS_RECORDINFO structure as described in the C/C++ interface, since all marchalling is already handled by the API here.

Platform-specific

The flags member is only used on Windows, and only prior to Vista. The formats member is unused on Linux. freq is also unused on Linux, and on Windows prior to Vista. On Android, formats and freq are unavailable prior to Android 8.1.

ERROR CODEDescription
BASS_ERROR_INITBASS_RecordInit(Int32) has not been successfully called - there are no initialized.

Examples

BASS_RECORDINFO info = new BASS_RECORDINFO();
bool ok = Bass.BASS_RecordGetInfo(info);
See Also

Reference