diff options
-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 ce9344f..93d4593 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); |