diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2000-06-19 20:31:58 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2000-06-19 20:31:58 +0000 |
| commit | 03cab0581fbed48cdbd27032d415add8e72d8514 (patch) | |
| tree | 160e4a4627a10cf0c534d09176779b83ee674804 /sys/dev | |
| parent | 49c0f52e11a2187d2494d54e62198406f7975daa (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sound/pcm/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c index b1f28e04e340..573356815b4f 100644 --- a/sys/dev/sound/pcm/mixer.c +++ b/sys/dev/sound/pcm/mixer.c @@ -82,7 +82,7 @@ mixer_set(snddev_info *d, unsigned dev, unsigned lev) unsigned l = min((lev & 0x00ff), 100); unsigned r = min(((lev & 0xff00) >> 8), 100); int v = d->mixer.set(&d->mixer, dev, l, r); - if (v >= 0) d->mixer.level[dev] = v; + if (v >= 0) d->mixer.level[dev] = l | (r << 8); return 0; } else return -1; } |
