mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
ALSA: ctxfi: Fix mono channel map to UNKNOWN
To follow the previous commit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2dc6fbf007
commit
7e8d613b53
@ -397,7 +397,7 @@ static struct snd_pcm_ops ct_pcm_capture_ops = {
|
||||
|
||||
static const struct snd_pcm_chmap_elem surround_map[] = {
|
||||
{ .channels = 1,
|
||||
.map = { SNDRV_CHMAP_RC } },
|
||||
.map = { SNDRV_CHMAP_UNKNOWN } },
|
||||
{ .channels = 2,
|
||||
.map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
|
||||
{ }
|
||||
@ -405,7 +405,7 @@ static const struct snd_pcm_chmap_elem surround_map[] = {
|
||||
|
||||
static const struct snd_pcm_chmap_elem clfe_map[] = {
|
||||
{ .channels = 1,
|
||||
.map = { SNDRV_CHMAP_FC } },
|
||||
.map = { SNDRV_CHMAP_UNKNOWN } },
|
||||
{ .channels = 2,
|
||||
.map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } },
|
||||
{ }
|
||||
@ -413,7 +413,7 @@ static const struct snd_pcm_chmap_elem clfe_map[] = {
|
||||
|
||||
static const struct snd_pcm_chmap_elem side_map[] = {
|
||||
{ .channels = 1,
|
||||
.map = { SNDRV_CHMAP_RC } },
|
||||
.map = { SNDRV_CHMAP_UNKNOWN } },
|
||||
{ .channels = 2,
|
||||
.map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } },
|
||||
{ }
|
||||
|
Loading…
Reference in New Issue
Block a user