Lines 1-26
Link Here
|
1 |
--- emu10k1-pcm.c Sat Apr 23 05:47:26 2005 |
|
|
2 |
+++ ../../emu10k1-pcm.c Sun Aug 14 17:54:02 2005 |
3 |
@@ -135,7 +135,6 @@ |
4 |
(sc->card->mixer->mix.volume[MIXER_P_VOLUME_RIGHT] == 0)) mute = 1; |
5 |
left = V100_TOBIT6(sc->card->mixer->mix.volume[MIXER_P_VOLUME_LEFT]); |
6 |
right = V100_TOBIT6(sc->card->mixer->mix.volume[MIXER_P_VOLUME_RIGHT]); |
7 |
- if(mute == 1) left = right = 0; |
8 |
emulated = AC97ENCODE(mute, left, right); |
9 |
#ifdef EMU_AC97DEBUG |
10 |
device_printf(sc->dev, "get MIX_MASTER: vol %d:%d ac97 m=%d l=%x r=%x e=%08x\n", |
11 |
@@ -150,7 +149,6 @@ |
12 |
(sc->card->mixer->fxbuses[0].volume[MIXER_P_VOLUME_RIGHT] == 0)) mute = 1; |
13 |
left = V100_TOBIT6(sc->card->mixer->fxbuses[0].volume[MIXER_P_VOLUME_LEFT]); |
14 |
right = V100_TOBIT6(sc->card->mixer->fxbuses[0].volume[MIXER_P_VOLUME_RIGHT]); |
15 |
- if(mute == 1) left = right = 0; |
16 |
emulated = AC97ENCODE(mute, left, right); |
17 |
#ifdef EMU_AC97DEBUG |
18 |
device_printf(sc->dev, "get MIX_PCM: vol %d:%d ac97 m=%d l=%x r=%x e=%08x\n", |
19 |
@@ -169,7 +167,6 @@ |
20 |
(sc->card->mixer->mix.volume[MIXER_R_VOLUME_RIGHT] == 0)) mute = 1; |
21 |
left = 0x0f - V100_TOBIT4(sc->card->mixer->mix.volume[MIXER_R_VOLUME_LEFT]); |
22 |
right = 0x0f - V100_TOBIT4(sc->card->mixer->mix.volume[MIXER_R_VOLUME_RIGHT]); |
23 |
- if(mute == 1) left = right = 0; |
24 |
emulated = AC97ENCODE(mute, left, right); |
25 |
#ifdef EMU_AC97DEBUG |
26 |
device_printf(sc->dev, "get MIX_RGAIN: vol %d:%d ac97 m=%d l=%x r=%x\n e=%08x", |