Date: Sun, 27 May 2001 10:22:01 -0700 (PDT) From: Cameron Grant <cg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm vchan.c vchan.h channel.c channel.h channel_if.m dsp.c dsp.h fake.c sound.c sound.h Message-ID: <200105271722.f4RHM1g45894@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cg 2001/05/27 10:22:01 PDT Modified files: sys/dev/sound/pcm channel.c channel.h channel_if.m dsp.c dsp.h fake.c sound.c sound.h Added files: sys/dev/sound/pcm vchan.c vchan.h Log: beginnings of virtual playback channel support instead of using two malloced arrays for storing channel lists, use an slist. convert the sndstat device to use sbufs and optionally provide more detail about channel state. vchans are software mixed playback channels. they are not enabled by this commit. they use the feeder infrastructure to emulate normal playback channels in a manner transparent to applications, whilst providing as many channels are desired, especially suitable for devices with only one hardware playback channel. in the future they will provide additional features. those wishing to test this functionality will need to add vchan.c to sys/conf/files and use 'sysctl -w hw.snd.pcm0.vchans' to enable it. blocksize and auto-rate selection are not yet supported. Revision Changes Path 1.56 +114 -23 src/sys/dev/sound/pcm/channel.c 1.18 +23 -3 src/sys/dev/sound/pcm/channel.h 1.4 +19 -2 src/sys/dev/sound/pcm/channel_if.m 1.36 +47 -38 src/sys/dev/sound/pcm/dsp.c 1.4 +2 -2 src/sys/dev/sound/pcm/dsp.h 1.9 +2 -2 src/sys/dev/sound/pcm/fake.c 1.43 +294 -146 src/sys/dev/sound/pcm/sound.c 1.30 +18 -4 src/sys/dev/sound/pcm/sound.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105271722.f4RHM1g45894>