summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/mixer.c
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>1999-11-15 23:22:52 +0000
committercg <cg@FreeBSD.org>1999-11-15 23:22:52 +0000
commitb833601903bb2862744fea2c7c91ebd8911585d5 (patch)
tree1ab995e9c4579d084cde0b98eea92f77ef0a7bb4 /sys/dev/sound/pcm/mixer.c
parent8f9bd300791ca14ebb95034746e6c9aa115e3146 (diff)
downloadFreeBSD-src-b833601903bb2862744fea2c7c91ebd8911585d5.zip
FreeBSD-src-b833601903bb2862744fea2c7c91ebd8911585d5.tar.gz
set default ogain to 50 since some sb cards produce no sound at 0
Diffstat (limited to 'sys/dev/sound/pcm/mixer.c')
-rw-r--r--sys/dev/sound/pcm/mixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c
index 9017e6c..9f9e8d3 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
OpenPOWER on IntegriCloud