summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authororion <orion@FreeBSD.org>2003-02-03 03:20:27 +0000
committerorion <orion@FreeBSD.org>2003-02-03 03:20:27 +0000
commit3c32c1207231d446a958f766751bc38ab838cc0c (patch)
tree1523546a6a0d55f6660770ee54f55cc0fe74fbf3 /sys/dev/sound
parentc6d199a14dff7734f6ceb2dbca557b7d8ccce64c (diff)
downloadFreeBSD-src-3c32c1207231d446a958f766751bc38ab838cc0c.zip
FreeBSD-src-3c32c1207231d446a958f766751bc38ab838cc0c.tar.gz
Remove mono encodings from vchan format and mixer description. Fixes
mono formats at 44.1kHz playing at double speed when vchans are enabled.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/vchan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c
index ab04ac3b..f0b5c1e 100644
--- a/sys/dev/sound/pcm/vchan.c
+++ b/sys/dev/sound/pcm/vchan.c
@@ -37,7 +37,6 @@ struct vchinfo {
};
static u_int32_t vchan_fmt[] = {
- AFMT_S16_LE,
AFMT_STEREO | AFMT_S16_LE,
0
};
@@ -105,7 +104,6 @@ feed_vchan_s16(struct pcm_feeder *f, struct pcm_channel *c, u_int8_t *b, u_int32
}
static struct pcm_feederdesc feeder_vchan_s16_desc[] = {
- {FEEDER_MIXER, AFMT_S16_LE, AFMT_S16_LE, 0},
{FEEDER_MIXER, AFMT_S16_LE | AFMT_STEREO, AFMT_S16_LE | AFMT_STEREO, 0},
{0},
};
OpenPOWER on IntegriCloud