The struct of AudioDeviceInfo.
- Note
- This struct applies to Windows and macOS only.
◆ AudioDeviceInfo()
agora::rtc::AudioDeviceInfo::AudioDeviceInfo |
( |
| ) |
|
|
inline |
◆ deviceName
The name of the device. The maximum name size is 128 bytes. The default value is 0.
◆ deviceId
The ID of the device. The maximum size is 128 bytes. The default value is 0.
◆ isCurrentSelected
bool agora::rtc::AudioDeviceInfo::isCurrentSelected |
Determines whether the current device is selected for audio capturing or playback.
- true: Select the current device for audio capturing or playback.
- false: (Default) Do not select the current device for audio capturing or playback.
◆ isPlayoutDevice
bool agora::rtc::AudioDeviceInfo::isPlayoutDevice |
Determines whether the current device is the audio playout device.
- true: (Default) The current device is the playout device.
- false: The current device is not the playout device.