AudioRoute

Types of audio routing.

Enumerations

RouteDefault
-1: Use the default audio route.
RouteHeadset
0: Audio routed to headset with microphone.
RouteEarpiece
1: Audio routed to earpiece.
RouteHeadsetNoMic
2: Audio routed to headset without microphone.
RouteSpeakerphone
3: Audio routed to built-in speaker.
RouteLoudspeaker
4: Audio routed to external speaker. (macOS only)
RouteBluetoothDeviceHFP
5: Audio routed to Bluetooth device using HFP protocol.
RouteUsb
6: Audio routed to USB peripheral device. (macOS only)
RouteHdmi
7: Audio routed to HDMI peripheral device. (macOS only)
RouteDisplayport
8: Audio routed to DisplayPort peripheral device. (macOS only)
RouteAirplay
9: Audio routed to Apple AirPlay. (macOS only)
RouteBluetoothDeviceA2DP
10: Audio routed to Bluetooth device using A2DP protocol.