BASS_RecordGetInputName
Retrieves the text description of a recording input source.
const char *BASS_RecordGetInputName(
int input
);
Parameters
input | The input to get the description of... 0 = first, -1 = master.
|
Return value
If successful, then a pointer to the description is returned, else NULL is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_INIT | BASS_RecordInit has not been successfully called.
|
BASS_ERROR_ILLPARAM | input is invalid.
|
BASS_ERROR_NOTAVAIL | A master input is not available.
|
Platform-specific
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.
There is no master input (-1) on OSX.
See also
BASS_RecordGetInfo, BASS_RecordGetInput, BASS_RecordSetInput