Skip to content

Commit

Permalink
ALSA: ctxfi: Swapped SURROUND-SIDE mute
Browse files Browse the repository at this point in the history
On Soundblaster X-FI Titenium with emu20k2 the SIDE and SURROUND mute
functions are swapped.
It was checked with 'speaker-test -c 8 -s 3' and (un)mute surround or
'speaker-test -c 8 -s 7' and (un)mute side. The volume seems not
to be affected and works as expected.

Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Sven Eckelmann authored and tiwai committed Oct 2, 2009
1 parent a656cbf commit 3b04691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/ctxfi/ctatc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ static int atc_line_front_unmute(struct ct_atc *atc, unsigned char state)

static int atc_line_surround_unmute(struct ct_atc *atc, unsigned char state)
{
return atc_daio_unmute(atc, state, LINEO4);
return atc_daio_unmute(atc, state, LINEO2);
}

static int atc_line_clfe_unmute(struct ct_atc *atc, unsigned char state)
Expand All @@ -1047,7 +1047,7 @@ static int atc_line_clfe_unmute(struct ct_atc *atc, unsigned char state)

static int atc_line_rear_unmute(struct ct_atc *atc, unsigned char state)
{
return atc_daio_unmute(atc, state, LINEO2);
return atc_daio_unmute(atc, state, LINEO4);
}

static int atc_line_in_unmute(struct ct_atc *atc, unsigned char state)
Expand Down

0 comments on commit 3b04691

Please sign in to comment.