summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/dsp.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a panic when kldloading a sound driver. Do this by replacing thematk2004-01-201-4/+1
| | | | | | link-list of dev_t's with named variables. Remove used code. Approved by: tanimura (mentor)
* update my email address.cg2003-09-071-1/+1
|
* add a method for recording of specific channels for devices with more thancg2001-09-051-2/+2
| | | | | one hardware record channel. new devices, /dev/dsprX.Y where X is unit number and Y is channel index.
* use a global devclass for all drivers - i'm not entirely sure why thiscg2001-06-161-7/+2
| | | | | | | | | | | | | | | worked before. mixer, dsp and sndstat are seperate devices - give them their own cdevsws instead of demuxing requests sent to a single cdevsw. use the si_drv1/si_drv2 fields in dev_t structures for holding information specific to an open instance of mixer/dsp. nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided using cloning. various locking fixes.
* beginnings of virtual playback channel supportcg2001-05-271-1/+1
| | | | | | | | | | | | | | | | | 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.
* mega-commit.cg2001-03-241-7/+7
| | | | | | | | | | | | | | | this introduces a new buffering mechanism which results in dramatic simplification of the channel manager. as several structures have changed, we take the opportunity to move their definitions into the source files where they are used, make them private and de-typedef them. the sound drivers are updated to use snd_setup_intr instead of bus_setup_intr, and to comply with the de-typedefed structures. the ac97, mixer and channel layers have been updated with finegrained locking, as have some drivers- not all though. the rest will follow soon.
* $Id$ -> $FreeBSD$peter1999-09-011-1/+1
|
* say hello to newpcm. it is not yet enabled, requiring new pnp code from dfrcg1999-09-011-0/+37
to compile successfully. further details will be provided in the commit enabling newpcm.
OpenPOWER on IntegriCloud