summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/fake.c
Commit message (Collapse)AuthorAgeFilesLines
* update my email address.cg2003-09-071-1/+1
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* many changes:cg2001-08-231-2/+2
| | | | | | | | | | | | | | | * add new channels to the end of the list so channels used in order of addition * de-globalise definition of struct snddev_info and provide accessor functions where necessary. * move the $FreeBSD$ tag in each .c file into a macro and allow the /dev/sndstat handler to display these when set to maximum verbosity to aid debugging. * allow each device to register its own sndstat handler to reduce the amount of groping sndstat must do in foreign structs.
* 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-9/+19
| | | | | | | | | | | | | | | 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.
* don't leak memory allocated for feeders at module unloadcg2001-03-161-0/+7
| | | | kill the fake channel when unregistering
* kobjify.cg2000-12-181-36/+31
| | | | | | | | | | this gives us several benefits, including: * easier extensibility- new optional methods can be added to ac97/mixer/channel classes without having to fixup every driver. * forward compatibility for drivers, provided no new mandatory methods are added.
* rework feeder sytem to allow feeders in kldscg2000-08-201-3/+15
| | | | | | | | modify driver capability reporting format to list every audio format seperately- required for above and because we could not previously indicate that mono was unsupported. there should be no functional impact.
* Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".peter2000-01-291-2/+0
|
* repo-copied to make way for newmidi, this commit updates include pathscg1999-11-201-1/+1
|
* $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/+115
to compile successfully. further details will be provided in the commit enabling newpcm.
OpenPOWER on IntegriCloud