diff options
author | cg <cg@FreeBSD.org> | 2000-04-15 05:04:12 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-04-15 05:04:12 +0000 |
commit | 6dcc92e9d30b104c9b7b5cb5dd7a0196735c50b1 (patch) | |
tree | f42ea1ef2636bf6e0eeb79e6acf3632afd5fc802 /sys/dev/sound/pcm/feeder.c | |
parent | 15ae5954179254ef21d7d580dae9975aa707623d (diff) | |
download | FreeBSD-src-6dcc92e9d30b104c9b7b5cb5dd7a0196735c50b1.zip FreeBSD-src-6dcc92e9d30b104c9b7b5cb5dd7a0196735c50b1.tar.gz |
make mmap sort-of work. there seem to be interactions with certain hw
drivers, so still work in progress.
do various mmap-related ioctls right.
improve blocksize control.
bits of cleanup.
Diffstat (limited to 'sys/dev/sound/pcm/feeder.c')
-rw-r--r-- | sys/dev/sound/pcm/feeder.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/sound/pcm/feeder.c b/sys/dev/sound/pcm/feeder.c index cc45a5c..5eaf89a 100644 --- a/sys/dev/sound/pcm/feeder.c +++ b/sys/dev/sound/pcm/feeder.c @@ -113,11 +113,6 @@ feed_root(pcm_feeder *feeder, pcm_channel *ch, u_int8_t *buffer, u_int32_t count count &= ~((1 << ch->align) - 1); KASSERT(count, ("feed_root: aligned count == 0")); s = spltty(); - if (ch->smegcnt > 0) { - c = min(ch->smegcnt, count); - bcopy(ch->smegbuf, buffer, c); - ch->smegcnt -= c; - } count = min(count, stream->uio_resid); if (count) { ret = uiomove(buffer, count, stream); |