audiomixer_input_t

Input channels.

Synopsis:

#include <bps/audiomixer.h>
 
typedef enum {
      AUDIOMIXER_INPUT_DEFAULT = AUDIOMIXER_OUTPUT_DEFAULT   
      AUDIOMIXER_INPUT = AUDIOMIXER_OUTPUT_DEFAULT   
      AUDIOMIXER_INPUT_SPEAKER = AUDIOMIXER_OUTPUT_SPEAKER   
      AUDIOMIXER_INPUT_HEADPHONE = AUDIOMIXER_OUTPUT_HEADPHONE   
      AUDIOMIXER_INPUT_HEADSET = AUDIOMIXER_OUTPUT_HEADSET   
      AUDIOMIXER_INPUT_HANDSET = AUDIOMIXER_OUTPUT_HANDSET   
      AUDIOMIXER_INPUT_A2DP = AUDIOMIXER_OUTPUT_A2DP   
      AUDIOMIXER_INPUT_BTSCO = AUDIOMIXER_OUTPUT_BTSCO   
      AUDIOMIXER_INPUT_HAC = AUDIOMIXER_OUTPUT_HAC   
      AUDIOMIXER_INPUT_HDMI = AUDIOMIXER_OUTPUT_HDMI   
      AUDIOMIXER_INPUT_TOSLINK = AUDIOMIXER_OUTPUT_TOSLINK   
      AUDIOMIXER_INPUT_TTY = AUDIOMIXER_OUTPUT_TTY   
      AUDIOMIXER_INPUT_LINEOUT = AUDIOMIXER_OUTPUT_LINEOUT   
} audiomixer_input_t;

Data:

AUDIOMIXER_INPUT_DEFAULT
The default input channel.
AUDIOMIXER_INPUT
The default input channel, for backwards compatibility.
AUDIOMIXER_INPUT_SPEAKER
The internal speaker.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_HEADPHONE
The headphone jack.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_HEADSET
A headset with microphone input.
AUDIOMIXER_INPUT_HANDSET
The phone receiver on the device.
AUDIOMIXER_INPUT_A2DP
A Bluetooth Advanced Audio Distribution Profile (A2DP) connection.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_BTSCO
A Bluetooth Synchronous Connection Oriented/Hands-Free Profile (SCO/HFP) connection.
AUDIOMIXER_INPUT_HAC
A Hearing Aid Compatibility (HAC) coil used for hearing aids.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_HDMI
The HDMI audio channel.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_TOSLINK
A TOSLINK optical audio cable connection.
If this channel is specified, the default input channel is used.
AUDIOMIXER_INPUT_TTY
A TTY telecommunication device for the hearing impaired (connected through the headphone jack).
AUDIOMIXER_INPUT_LINEOUT
A device connected through the headset jack.
If this channel is specified, the default input channel is used.

Library:

libbps

Description:

This enumeration defines the different input channels that are available. Note that some input channels are simply aliases for the default input channel AUDIOMIXER_INPUT_DEFAULT.