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_DEVICE_UNCHANGED = INT_MAX   
} audio_manager_device_t;

Since:

BlackBerry 10.0.0

Data:

AUDIO_DEVICE_SPEAKER
The main speakers.
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 line-out 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 that is available from a Wi-Fi display connection.
AUDIO_DEVICE_MIRRORLINK
The audio device available using a MirrorLink connection.

Since: BlackBerry 10.2.0

AUDIO_DEVICE_AUDIO_SHARE
The virtual audio device available using video share.

Since: BlackBerry 10.2.0

AUDIO_DEVICE_COUNT
The total number of devices supported.
AUDIO_DEVICE_DEFAULT
The current active output device that's playing audio.
AUDIO_DEVICE_UNCHANGED
The audio device is unchanged if this value is specified.

Since: BlackBerry 10.2.0

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

This enumeration defines the types of audio devices supported.