audiodevice_device_t

Audio devices.

Synopsis:

#include <bps/audiodevice.h>
 
typedef enum {
      AUDIODEVICE_DEVICE_UNRECOGNIZED = 0   
      AUDIODEVICE_DEVICE_MAIN = 1   
      AUDIODEVICE_DEVICE_HDMI = 2   
      AUDIODEVICE_DEVICE_SPEAKER = 3   
      AUDIODEVICE_DEVICE_HEADPHONE = 4   
      AUDIODEVICE_DEVICE_HEADSET = 5   
      AUDIODEVICE_DEVICE_HANDSET = 6   
      AUDIODEVICE_DEVICE_A2DP = 7   
      AUDIODEVICE_DEVICE_BTSCO = 8   
      AUDIODEVICE_DEVICE_HAC = 9   
      AUDIODEVICE_DEVICE_TOSLINK = 10   
      AUDIODEVICE_DEVICE_TTY = 11   
      AUDIODEVICE_DEVICE_LINEOUT = 12   
      AUDIODEVICE_NUM_DEVICES   
} audiodevice_device_t;

Data:

AUDIODEVICE_DEVICE_UNRECOGNIZED
An unrecognized device (not one listed below).
AUDIODEVICE_DEVICE_MAIN
The main audio device.
This device is reported by BlackBerry Tablet OS 1.0 if the audio device is either the internal speaker or the headphone jack.
AUDIODEVICE_DEVICE_HDMI
The HDMI audio device.
AUDIODEVICE_DEVICE_SPEAKER
The internal speaker.
This device is reported by BlackBerry Tablet OS 2.0 and later if the audio device is the internal speaker.
AUDIODEVICE_DEVICE_HEADPHONE
The headphone jack.
This device is reported by BlackBerry Tablet OS 2.0 and later if the audio device is the headphone jack.
AUDIODEVICE_DEVICE_HEADSET
A headset with microphone input.
AUDIODEVICE_DEVICE_HANDSET
The phone receiver on the device.
AUDIODEVICE_DEVICE_A2DP
A Bluetooth Advanced Audio Distribution Profile (A2DP) connection.
AUDIODEVICE_DEVICE_BTSCO
A Bluetooth Synchronous Connection Oriented/Hands-Free Profile (SCO/HFP) connection.
AUDIODEVICE_DEVICE_HAC
A Hearing Aid Compatibility (HAC) coil used for hearing aids.
AUDIODEVICE_DEVICE_TOSLINK
A TOSLINK optical audio cable connection.
AUDIODEVICE_DEVICE_TTY
A TTY telecommunication device for the hearing impaired (connected through the headphone jack).
AUDIODEVICE_DEVICE_LINEOUT
A device connected through the headset jack.
AUDIODEVICE_NUM_DEVICES
The number of audio devices.

Library:

libbps

Description:

This enumeration defines the different audio devices that the audio device service supports.