AudioRoute
Audio routing types.
Enumerations
- routeDefault
- -1: Use the default audio route.
- routeHeadset
- 0: Audio routed to a headset with microphone.
- routeEarpiece
- 1: Audio routed to the earpiece.
- routeHeadsetnomic
- 2: Audio routed to a headset without microphone.
- routeSpeakerphone
- 3: Audio routed to the device's built-in speaker.
- routeLoudspeaker
- 4: Audio routed to an external speaker. (iOS and macOS only)
- routeHeadsetbluetooth
- 5: Audio routed to a Bluetooth device using the HFP protocol.
- routeUsb
- 6: Audio routed to a USB peripheral device. (macOS only)
- routeHdmi
- 7: Audio routed to an HDMI peripheral device. (macOS only)
- routeDisplayport
- 8: Audio routed to a DisplayPort peripheral device. (macOS only)
- routeAirplay
- 9: Audio routed to Apple AirPlay. (macOS only)
- routeBluetoothSpeaker
- 10: Audio routed to a Bluetooth device using the A2DP protocol.