getRecordingDeviceInfo [2/2]
Get the information and type of the audio capturing device.
virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0;
Details
This method applies to macOS only.
Parameters
- deviceId
- Th ID of the audio playback device. The maximum length is MAX_DEVICE_ID_LENGTH_TYPE.
- deviceName
- Output parameter; the name of the playback device. The maximum length is MAX_DEVICE_ID_LENGTH_TYPE.
- deviceTypeName
- Output parameter; indicates the type of audio capturing devices, such as built-in, USB and HDMI.
Returns
- 0: Success.
- < 0: Failure.