mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
PCM: Define MONO and other channel map positions
Follow the new definitions in the kernel side. MONO and others have been added, and the order of position table was changed again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
58c45b3030
commit
f7300682dc
3 changed files with 30 additions and 8 deletions
|
|
@ -479,8 +479,10 @@ enum {
|
|||
|
||||
/* channel positions */
|
||||
enum {
|
||||
/* this follows the alsa-lib mixer channel value + 1 */
|
||||
SNDRV_CHMAP_UNKNOWN = 0,
|
||||
SNDRV_CHMAP_NA, /* N/A, silent */
|
||||
SNDRV_CHMAP_MONO, /* mono stream */
|
||||
/* this follows the alsa-lib mixer channel value + 3 */
|
||||
SNDRV_CHMAP_FL, /* front left */
|
||||
SNDRV_CHMAP_FR, /* front right */
|
||||
SNDRV_CHMAP_RL, /* rear left */
|
||||
|
|
@ -501,8 +503,13 @@ enum {
|
|||
SNDRV_CHMAP_FCH, /* front center high */
|
||||
SNDRV_CHMAP_FRH, /* front right high */
|
||||
SNDRV_CHMAP_TC, /* top center */
|
||||
SNDRV_CHMAP_NA, /* N/A, silent */
|
||||
SNDRV_CHMAP_LAST = SNDRV_CHMAP_NA,
|
||||
SNDRV_CHMAP_TFL, /* top front left */
|
||||
SNDRV_CHMAP_TFR, /* top front right */
|
||||
SNDRV_CHMAP_TFC, /* top front center */
|
||||
SNDRV_CHMAP_TRL, /* top rear left */
|
||||
SNDRV_CHMAP_TRR, /* top rear right */
|
||||
SNDRV_CHMAP_TRC, /* top rear center */
|
||||
SNDRV_CHMAP_LAST = SNDRV_CHMAP_TRC,
|
||||
};
|
||||
|
||||
#define SNDRV_CHMAP_POSITION_MASK 0xffff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue