audiomixer_output_t

Output channels.

Synopsis:

#include <bps/audiomixer.h>
 
typedef enum {
      AUDIOMIXER_OUTPUT_DEFAULT = 0   
      AUDIOMIXER_OUTPUT_SPEAKER = 1   
      AUDIOMIXER_OUTPUT_HEADPHONE = 2   
      AUDIOMIXER_OUTPUT_HEADSET = 3   
      AUDIOMIXER_OUTPUT_HANDSET = 4   
      AUDIOMIXER_OUTPUT_A2DP = 5   
      AUDIOMIXER_OUTPUT_BTSCO = 6   
      AUDIOMIXER_OUTPUT_HAC = 7   
      AUDIOMIXER_OUTPUT_HDMI = 8   
      AUDIOMIXER_OUTPUT_TOSLINK = 9   
      AUDIOMIXER_OUTPUT_TTY = 10   
      AUDIOMIXER_OUTPUT_LINEOUT = 11   
} audiomixer_output_t;

Data:

AUDIOMIXER_OUTPUT_DEFAULT
The default output channel.
AUDIOMIXER_OUTPUT_SPEAKER
The internal speaker.
AUDIOMIXER_OUTPUT_HEADPHONE
The headphone jack.
AUDIOMIXER_OUTPUT_HEADSET
A headset with microphone input.
AUDIOMIXER_OUTPUT_HANDSET
The phone receiver on the device.
AUDIOMIXER_OUTPUT_A2DP
A Bluetooth Advanced Audio Distribution Profile (A2DP) connection.
AUDIOMIXER_OUTPUT_BTSCO
A Bluetooth Synchronous Connection Oriented/Hands-Free Profile (SCO/HFP) connection.
AUDIOMIXER_OUTPUT_HAC
A Hearing Aid Compatibility (HAC) coil used for hearing aids.
AUDIOMIXER_OUTPUT_HDMI
The HDMI audio channel.
AUDIOMIXER_OUTPUT_TOSLINK
A TOSLINK optical audio cable connection.
AUDIOMIXER_OUTPUT_TTY
A TTY telecommunication device for the hearing impaired (connected through the headphone jack).
AUDIOMIXER_OUTPUT_LINEOUT
A device connected through the headset jack.

Library:

libbps

Description:

This enumeration defines the different output channels that can be available. Only one output channel can be available at a time, and you can determine the available output channel by calling audiomixer_event_get_available() .