Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration AUDIO_ROUTE_TYPE

Audio output routing.

  • -1: Default.
  • 0: Headset.
  • 1: Earpiece.
  • 2: Headset with no microphone.
  • 3: Speakerphone.
  • 4: Loudspeaker.
  • 5: Bluetooth headset.
  • 6: USB peripheral (macOS only).
  • 7: HDMI peripheral (macOS only).
  • 8: DisplayPort peripheral (macOS only).
  • 9: Apple AirPlay (macOS only).

Index

Enumeration members

AUDIO_ROUTE_AIRPLAY

AUDIO_ROUTE_AIRPLAY: = 9

9: (iOS and macOS only) The audio route is Apple AirPlay.

AUDIO_ROUTE_BLUETOOTH

AUDIO_ROUTE_BLUETOOTH: = 5

5: The audio route is a Bluetooth headset.

AUDIO_ROUTE_DEFAULT

AUDIO_ROUTE_DEFAULT: = -1

-1: Default audio route.

AUDIO_ROUTE_DISPLAYPORT

AUDIO_ROUTE_DISPLAYPORT: = 8

8: (macOS only) The audio route is a DisplayPort peripheral device.

AUDIO_ROUTE_EARPIECE

AUDIO_ROUTE_EARPIECE: = 1

1: The audio route is an earpiece.

AUDIO_ROUTE_HDMI

AUDIO_ROUTE_HDMI: = 7

7: (macOS only) The audio route is an HDMI peripheral device.

AUDIO_ROUTE_HEADSET

AUDIO_ROUTE_HEADSET: = 0

0: The audio route is a headset with a microphone.

AUDIO_ROUTE_HEADSET_NO_MIC

AUDIO_ROUTE_HEADSET_NO_MIC: = 2

2: The audio route is a headset without a microphone.

AUDIO_ROUTE_LOUDSPEAKER

AUDIO_ROUTE_LOUDSPEAKER: = 4

4: (iOS and macOS only) The audio route is an external speaker.

AUDIO_ROUTE_SPEAKERPHONE

AUDIO_ROUTE_SPEAKERPHONE: = 3

3: The audio route is the speaker that comes with the device.

AUDIO_ROUTE_USB

AUDIO_ROUTE_USB: = 6

6: (macOS only) The audio route is a USB peripheral device.