diff options
Diffstat (limited to 'Documentation/sound')
-rw-r--r-- | Documentation/sound/alsa/Channel-Mapping-API.txt | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Documentation/sound/alsa/Channel-Mapping-API.txt b/Documentation/sound/alsa/Channel-Mapping-API.txt index 4bbf12d5553f..3c43d1a4ca0e 100644 --- a/Documentation/sound/alsa/Channel-Mapping-API.txt +++ b/Documentation/sound/alsa/Channel-Mapping-API.txt | |||
@@ -76,8 +76,10 @@ here is a cut: | |||
76 | 76 | ||
77 | /* channel positions */ | 77 | /* channel positions */ |
78 | enum { | 78 | enum { |
79 | /* this follows the alsa-lib mixer channel value + 1 */ | ||
80 | SNDRV_CHMAP_UNKNOWN = 0, | 79 | SNDRV_CHMAP_UNKNOWN = 0, |
80 | SNDRV_CHMAP_NA, /* N/A, silent */ | ||
81 | SNDRV_CHMAP_MONO, /* mono stream */ | ||
82 | /* this follows the alsa-lib mixer channel value + 3 */ | ||
81 | SNDRV_CHMAP_FL, /* front left */ | 83 | SNDRV_CHMAP_FL, /* front left */ |
82 | SNDRV_CHMAP_FR, /* front right */ | 84 | SNDRV_CHMAP_FR, /* front right */ |
83 | SNDRV_CHMAP_RL, /* rear left */ | 85 | SNDRV_CHMAP_RL, /* rear left */ |
@@ -98,8 +100,13 @@ enum { | |||
98 | SNDRV_CHMAP_FCH, /* front center high */ | 100 | SNDRV_CHMAP_FCH, /* front center high */ |
99 | SNDRV_CHMAP_FRH, /* front right high */ | 101 | SNDRV_CHMAP_FRH, /* front right high */ |
100 | SNDRV_CHMAP_TC, /* top center */ | 102 | SNDRV_CHMAP_TC, /* top center */ |
101 | SNDRV_CHMAP_NA, /* N/A, silent */ | 103 | SNDRV_CHMAP_TFL, /* top front left */ |
102 | SNDRV_CHMAP_LAST = SNDRV_CHMAP_NA, | 104 | SNDRV_CHMAP_TFR, /* top front right */ |
105 | SNDRV_CHMAP_TFC, /* top front center */ | ||
106 | SNDRV_CHMAP_TRL, /* top rear left */ | ||
107 | SNDRV_CHMAP_TRR, /* top rear right */ | ||
108 | SNDRV_CHMAP_TRC, /* top rear center */ | ||
109 | SNDRV_CHMAP_LAST = SNDRV_CHMAP_TRC, | ||
103 | }; | 110 | }; |
104 | 111 | ||
105 | When a PCM stream can provide more than one channel map, you can | 112 | When a PCM stream can provide more than one channel map, you can |