freebsd-nq/sys/dev/sound/pcm
Cameron Grant 285648f9d2 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.
2001-05-27 17:22:00 +00:00
..
ac97_if.m MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from 2001-03-05 16:42:06 +00:00
ac97.c mega-commit. 2001-03-24 23:10:29 +00:00
ac97.h mega-commit. 2001-03-24 23:10:29 +00:00
buffer.c don't erase info in sndbuf_setup() 2001-05-27 14:39:34 +00:00
buffer.h don't erase info in sndbuf_setup() 2001-05-27 14:39:34 +00:00
channel_if.m beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
channel.c beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
channel.h beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
dsp.c beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
dsp.h beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
fake.c beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
feeder_fmt.c fix feeder initialisation methods to return correct result codes. 2001-04-08 20:17:03 +00:00
feeder_if.m add a new method for retrieving feeder parameters 2001-05-27 14:49:14 +00:00
feeder_rate.c add a new method for retrieving feeder parameters 2001-05-27 14:49:14 +00:00
feeder.c comment out a boot-time debug message 2001-04-09 21:33:47 +00:00
feeder.h add a new method for retrieving feeder parameters 2001-05-27 14:49:14 +00:00
mixer_if.m mega-commit. 2001-03-24 23:10:29 +00:00
mixer.c mega-commit. 2001-03-24 23:10:29 +00:00
mixer.h mega-commit. 2001-03-24 23:10:29 +00:00
sound.c beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
sound.h beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
vchan.c beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00
vchan.h beginnings of virtual playback channel support 2001-05-27 17:22:00 +00:00