BASS_RecordGetInputName

Retrieves the text description of a recording input source.

const char *BASS_RecordGetInputName(
    int input
);

Parameters

inputThe 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_INITBASS_RecordInit has not been successfully called.
BASS_ERROR_ILLPARAMinput is invalid.
BASS_ERROR_NOTAVAILA master input is not available.

Remarks

No input information is available on the "Default" recording device.

Platform-specific

The master input (-1) is only available on Windows and Linux.

The returned string is in ANSI or UTF-8 form on Windows, depending on the BASS_CONFIG_UNICODE setting. It is always in UTF-8 form on other platforms.

See also

BASS_RecordGetInfo, BASS_RecordGetInput, BASS_RecordSetInput