diff options
author | cg <cg@FreeBSD.org> | 2001-08-23 12:27:27 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-08-23 12:27:27 +0000 |
commit | f53d43761e663beb3f653487123cf4a929573e3f (patch) | |
tree | 6bd18f8d6b67544d8ec5bfc36c7fa78835de2486 /sys | |
parent | a77fa3901d6cd2d19c4e01130aebda9cd584caac (diff) | |
download | FreeBSD-src-f53d43761e663beb3f653487123cf4a929573e3f.zip FreeBSD-src-f53d43761e663beb3f653487123cf4a929573e3f.tar.gz |
the feederchain builder is currently broken for recording channels. disable
it until it is fixed. this limits recording to native formats and speeds
only.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/feeder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/feeder.c b/sys/dev/sound/pcm/feeder.c index 102bab2..f361ada 100644 --- a/sys/dev/sound/pcm/feeder.c +++ b/sys/dev/sound/pcm/feeder.c @@ -270,6 +270,9 @@ chn_fmtchain(struct pcm_channel *c, u_int32_t *to) struct pcm_feeder *try, *stop; int max; + /* we're broken for recording currently, reject attempts */ + if (c->direction == PCMDIR_REC) + return EINVAL; stop = c->feeder; try = NULL; max = 0; |