audio_manager_device_t

Supported audio devices.

Synopsis:

#include <audio/audio_manager_device.h>
 
typedef enum {
      AUDIO_DEVICE_SPEAKER   
      AUDIO_DEVICE_HEADSET   
      AUDIO_DEVICE_HEADPHONE   
      AUDIO_DEVICE_A2DP   
      AUDIO_DEVICE_HANDSET   
      AUDIO_DEVICE_HAC   
      AUDIO_DEVICE_BT_SCO   
      AUDIO_DEVICE_HDMI   
      AUDIO_DEVICE_TOSLINK   
      AUDIO_DEVICE_TTY   
      AUDIO_DEVICE_LINEOUT   
      AUDIO_DEVICE_USB   
      AUDIO_DEVICE_TONES   
      AUDIO_DEVICE_VOICE   
      AUDIO_DEVICE_WIFI_DISPLAY   
      AUDIO_DEVICE_MIRRORLINK   
      AUDIO_DEVICE_AUDIO_SHARE   
      AUDIO_DEVICE_COUNT   
      AUDIO_DEVICE_DEFAULT = 0xFF   
} audio_manager_device_t;

Data:

AUDIO_DEVICE_SPEAKER
The main speaker(s).
AUDIO_DEVICE_HEADSET
The mono/stereo headset with microphone.
AUDIO_DEVICE_HEADPHONE
The mono/stereo output only headphone.
AUDIO_DEVICE_A2DP
The Bluetooth A2DP streaming service.
AUDIO_DEVICE_HANDSET
The phone receiver.
AUDIO_DEVICE_HAC
The hearing aid compatibility device.
AUDIO_DEVICE_BT_SCO
The Bluetooth hands-free profile service for voice calls.
AUDIO_DEVICE_HDMI
The HDMI connection.
AUDIO_DEVICE_TOSLINK
The TOSLINK connection.
AUDIO_DEVICE_TTY
The telecommunications device for the hearing challenged.
AUDIO_DEVICE_LINEOUT
The lineout connection through the headset jack.
AUDIO_DEVICE_USB
The USB connection.
AUDIO_DEVICE_TONES
The virtual tones port that is used for system tones.
AUDIO_DEVICE_VOICE
The virtual voice port that is used for voice stream processing such as VoIP.
AUDIO_DEVICE_WIFI_DISPLAY
The audio device exposed by the Wi-Fi display connection.
AUDIO_DEVICE_MIRRORLINK
The audio device exposed by the MirrorLink connection.
AUDIO_DEVICE_AUDIO_SHARE
The virtual audio device exposed by video share.
AUDIO_DEVICE_COUNT
The total number of devices supported.
AUDIO_DEVICE_DEFAULT
The current active output device that audio is playing out of.

Library:

libaudio_manager

Description:

This enumeration defines the types of audio devices supported.