Commit 5efbc261 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: Fix leftover chmap UNKNOWN -> MONO conversions

A few files have been slipped from the previous commit to add MONO
channel type.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7b31d009
...@@ -2311,7 +2311,7 @@ EXPORT_SYMBOL(snd_pcm_lib_readv); ...@@ -2311,7 +2311,7 @@ EXPORT_SYMBOL(snd_pcm_lib_readv);
/* default channel maps for multi-channel playbacks, up to 8 channels */ /* default channel maps for multi-channel playbacks, up to 8 channels */
const struct snd_pcm_chmap_elem snd_pcm_std_chmaps[] = { const struct snd_pcm_chmap_elem snd_pcm_std_chmaps[] = {
{ .channels = 1, { .channels = 1,
.map = { SNDRV_CHMAP_UNKNOWN } }, .map = { SNDRV_CHMAP_MONO } },
{ .channels = 2, { .channels = 2,
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } }, .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
{ .channels = 4, { .channels = 4,
...@@ -2333,7 +2333,7 @@ EXPORT_SYMBOL_GPL(snd_pcm_std_chmaps); ...@@ -2333,7 +2333,7 @@ EXPORT_SYMBOL_GPL(snd_pcm_std_chmaps);
/* alternative channel maps with CLFE <-> surround swapped for 6/8 channels */ /* alternative channel maps with CLFE <-> surround swapped for 6/8 channels */
const struct snd_pcm_chmap_elem snd_pcm_alt_chmaps[] = { const struct snd_pcm_chmap_elem snd_pcm_alt_chmaps[] = {
{ .channels = 1, { .channels = 1,
.map = { SNDRV_CHMAP_UNKNOWN } }, .map = { SNDRV_CHMAP_MONO } },
{ .channels = 2, { .channels = 2,
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } }, .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
{ .channels = 4, { .channels = 4,
......
...@@ -1262,7 +1262,7 @@ static struct snd_pcm_ops snd_ensoniq_capture_ops = { ...@@ -1262,7 +1262,7 @@ static struct snd_pcm_ops snd_ensoniq_capture_ops = {
static const struct snd_pcm_chmap_elem surround_map[] = { static const struct snd_pcm_chmap_elem surround_map[] = {
{ .channels = 1, { .channels = 1,
.map = { SNDRV_CHMAP_UNKNOWN } }, .map = { SNDRV_CHMAP_MONO } },
{ .channels = 2, { .channels = 2,
.map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } }, .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
{ } { }
......
...@@ -1264,7 +1264,7 @@ static struct snd_pcm_ops snd_ymfpci_playback_4ch_ops = { ...@@ -1264,7 +1264,7 @@ static struct snd_pcm_ops snd_ymfpci_playback_4ch_ops = {
static const struct snd_pcm_chmap_elem surround_map[] = { static const struct snd_pcm_chmap_elem surround_map[] = {
{ .channels = 1, { .channels = 1,
.map = { SNDRV_CHMAP_UNKNOWN } }, .map = { SNDRV_CHMAP_MONO } },
{ .channels = 2, { .channels = 2,
.map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } }, .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
{ } { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment