BASS.NET API for the Un4seen BASS Audio Library

BassBASS_RecordGetInputName Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the text description of a recording input source.

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

public static string BASS_RecordGetInputName(
	int input


Type: SystemInt32
The input to get the description of... 0 = first, -1 = master.

Return Value

Type: String
If succesful, then the description is returned, else is returned. Use BASS_ErrorGetCode to get the error code.

ERROR CODEDescription
BASS_ERROR_INITBASS_RecordInit(Int32) has not been successfully called - there are no initialized.
BASS_ERROR_ILLPARAMinput is invalid.
BASS_ERROR_NOTAVAILA master input is not available.


The returned string is in ANSI or UTF-8 form on Windows, depending on the BASS_CONFIG_UNICODE setting. It is in UTF-16 form ("WCHAR" rather than "char") on Windows CE, and in UTF-8 form on other platforms.

On OSX, there is no master input (-1).


Get the name of the first input:
string inputName = Bass.BASS_RecordGetInputName(0);
See Also