diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-26 10:18:59 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-26 10:18:59 -0500 |
commit | 7cc17a31ff5ca3d8e1719af88907beec7b1fd24e (patch) | |
tree | 1d7390d848187698e6a5679a0687bbf5f1d1e160 | |
parent | 48779a0b8ffc45f7f2b519ef462a72b1c5208d09 (diff) |
ALSA: Extend chmap definitions for UAC2
USB audio class 2 has more channel map positions than we currently
have. Let's add missing definitions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | include/uapi/sound/asound.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 515b8fcd1ca9..1774a5c3ef10 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h | |||
@@ -492,7 +492,17 @@ enum { | |||
492 | SNDRV_CHMAP_TRL, /* top rear left */ | 492 | SNDRV_CHMAP_TRL, /* top rear left */ |
493 | SNDRV_CHMAP_TRR, /* top rear right */ | 493 | SNDRV_CHMAP_TRR, /* top rear right */ |
494 | SNDRV_CHMAP_TRC, /* top rear center */ | 494 | SNDRV_CHMAP_TRC, /* top rear center */ |
495 | SNDRV_CHMAP_LAST = SNDRV_CHMAP_TRC, | 495 | /* new definitions for UAC2 */ |
496 | SNDRV_CHMAP_TFLC, /* top front left center */ | ||
497 | SNDRV_CHMAP_TFRC, /* top front right center */ | ||
498 | SNDRV_CHMAP_TSL, /* top side left */ | ||
499 | SNDRV_CHMAP_TSR, /* top side right */ | ||
500 | SNDRV_CHMAP_LLFE, /* left LFE */ | ||
501 | SNDRV_CHMAP_RLFE, /* right LFE */ | ||
502 | SNDRV_CHMAP_BC, /* bottom center */ | ||
503 | SNDRV_CHMAP_BLC, /* bottom left center */ | ||
504 | SNDRV_CHMAP_BRC, /* bottom right center */ | ||
505 | SNDRV_CHMAP_LAST = SNDRV_CHMAP_BRC, | ||
496 | }; | 506 | }; |
497 | 507 | ||
498 | #define SNDRV_CHMAP_POSITION_MASK 0xffff | 508 | #define SNDRV_CHMAP_POSITION_MASK 0xffff |