diff options
| author | Cameron Grant <cg@FreeBSD.org> | 2001-08-27 01:02:13 +0000 |
|---|---|---|
| committer | Cameron Grant <cg@FreeBSD.org> | 2001-08-27 01:02:13 +0000 |
| commit | 4f4449e01ce54d9234b16c0c04abef55a77186ab (patch) | |
| tree | e4b0540849a3459200d702a202eb31175ed10c98 /sys/dev | |
| parent | afd9750bfd6977717a909840fa5d9b0e3213170d (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sound/pcm/channel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index ce9344f44776..93d4593aa1b8 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -606,7 +606,9 @@ chn_reset(struct pcm_channel *c, u_int32_t fmt) CHANNEL_RESET(c->methods, c->devinfo); if (fmt) { hwspd = DSP_DEFAULT_SPEED; - RANGE(hwspd, chn_getcaps(c)->minspeed, chn_getcaps(c)->maxspeed); + /* only do this on a record channel until feederbuilder works */ + if (c->direction == PCMDIR_REC) + RANGE(hwspd, chn_getcaps(c)->minspeed, chn_getcaps(c)->maxspeed); c->speed = hwspd; r = chn_setformat(c, fmt); |
