AudioRoute

The type of the audio route.

Enumerator

RouteDefault
-1: The default audio route.
RouteHeadset
0: Audio output routing is a headset with microphone.
RouteEarpiece
1: The audio route is an earpiece.
RouteHeadsetNoMic
2: The audio route is a headset without a microphone.
RouteSpeakerphone
3: The audio route is the speaker that comes with the device.
RouteLoudspeaker
4: The audio route is an external speaker. (macOS only)
RouteBluetoothDeviceHFP
5: The audio route is a Bluetooth device using the HFP protocol.
RouteUsb
6: The audio route is a USB peripheral device. (For macOS only)
RouteHdmi
7: The audio route is an HDMI peripheral device. (For macOS only)
RouteDisplayport
8: The audio route is a DisplayPort peripheral device. (For macOS only)
RouteAirplay
9: The audio route is Apple AirPlay. (For macOS only)
RouteBluetoothDeviceA2DP
10: The audio route is a Bluetooth device using the A2DP protocol.