audiomixer
[Interface specifications]


Detailed Description

Sound level control.

The audiomixer interface is used to control sound levels.

#define PLAYER_AUDIOMIXER_SET_MASTER   1
 Command subtype: set master level.
#define PLAYER_AUDIOMIXER_SET_PCM   2
 Command subtype: set PCM level.
#define PLAYER_AUDIOMIXER_SET_LINE   3
 Command subtype: set line in level.
#define PLAYER_AUDIOMIXER_SET_MIC   4
 Command subtype: set microphone level.
#define PLAYER_AUDIOMIXER_SET_IGAIN   5
 Command subtype: set input gain level.
#define PLAYER_AUDIOMIXER_SET_OGAIN   6
 Command subtype: set output gain level.
#define PLAYER_AUDIOMIXER_GET_LEVELS   1
 Request/reply subtype: get levels.
typedef player_audiomixer_cmd player_audiomixer_cmd_t
 Command: set level.
typedef player_audiomixer_config player_audiomixer_config_t
 Request/reply: Get levels.

Typedef Documentation

typedef struct player_audiomixer_cmd player_audiomixer_cmd_t
 

Command: set level.

The audiomixer interface accepts commands to set the left and right volume levels of various channels. The channel is determined by the subtype of the command: PLAYER_AUDIOMIXER_SET_MASTER for the master volume, PLAYER_AUDIOMIXER_SET_PCM for the PCM volume, PLAYER_AUDIOMIXER_SET_LINE for the line in volume, PLAYER_AUDIOMIXER_SET_MIC for the microphone volume, PLAYER_AUDIOMIXER_SET_IGAIN for the input gain, and PLAYER_AUDIOMIXER_SET_OGAIN for the output gain.

typedef struct player_audiomixer_config player_audiomixer_config_t
 

Request/reply: Get levels.

Send a null PLAYER_AUDIOMIXER_GET_LEVELS request to receive the current state of the mixer levels.


Last updated 12 September 2005 21:38:45