Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22689
b: refs/heads/master
c: 153abaa
h: refs/heads/master
i:
  22687: 42bd73c
v: v3
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Mar 22, 2006
1 parent d272ef5 commit 87876ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27346166a9b3b9eee586bce212502cddf9685a07
refs/heads/master: 153abaa4ff0500070a282dd0868367d69388d527
12 changes: 8 additions & 4 deletions trunk/sound/pci/ymfpci/ymfpci_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,13 +536,17 @@ static void snd_ymfpci_pcm_init_voice(struct snd_ymfpci_pcm *ypcm, unsigned int
}
}
if (ypcm->output_rear) {
/* The SPDIF out channels seem to be swapped, so we have
* to swap them here, too. The rear analog out channels
* will be wrong, but otherwise AC3 would not work.
*/
if (use_left) {
bank->eff2_gain =
bank->eff2_gain_end = vol_left;
bank->eff3_gain =
bank->eff3_gain_end = vol_left;
}
if (use_right) {
bank->eff3_gain =
bank->eff3_gain_end = vol_right;
bank->eff2_gain =
bank->eff2_gain_end = vol_right;
}
}
}
Expand Down

0 comments on commit 87876ea

Please sign in to comment.