From 0513a1a1cbee16c1fd63132e2649dab32f9eb5a1 Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Mon, 15 Nov 1999 23:22:52 +0000 Subject: [PATCH] set default ogain to 50 since some sb cards produce no sound at 0 --- sys/dev/pcm/mixer.c | 1 + sys/dev/sound/pcm/mixer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/pcm/mixer.c b/sys/dev/pcm/mixer.c index 9017e6ca9e3..9f9e8d3310c 100644 --- a/sys/dev/pcm/mixer.c +++ b/sys/dev/pcm/mixer.c @@ -40,6 +40,7 @@ static u_int16_t snd_mixerdefaults[SOUND_MIXER_NRDEVICES] = { [SOUND_MIXER_LINE1] = 75, [SOUND_MIXER_VIDEO] = 75, [SOUND_MIXER_RECLEV] = 0, + [SOUND_MIXER_OGAIN] = 50, }; int diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index 9017e6ca9e3..9f9e8d3310c 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -40,6 +40,7 @@ static u_int16_t snd_mixerdefaults[SOUND_MIXER_NRDEVICES] = { [SOUND_MIXER_LINE1] = 75, [SOUND_MIXER_VIDEO] = 75, [SOUND_MIXER_RECLEV] = 0, + [SOUND_MIXER_OGAIN] = 50, }; int