BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_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.12.0
Syntax

[DllImportAttribute("bass.dll", CharSet = CharSet.Unicode)]
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.

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

Examples

VB
Dim info As New BASS_RECORDINFO()
Dim ok As Boolean = Bass.BASS_RecordGetInfo(info)
BASS_RECORDINFO info = new BASS_RECORDINFO();
bool ok = Bass.BASS_RecordGetInfo(info);
See Also

Reference