summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
2016-01-09missing breakJonathan Gray
2015-12-14"harware" -> "hardware"mmcc
2015-09-04Fix condition used while seaching candidates for "record level"Alexandre Ratchov
2015-07-29Fix spacing and be more verbose in printfs under #ifdef AUDIO_DEBUG.Alexandre Ratchov
2015-07-28add missing space, from Donovan Watteau <tsoomi at gmail.com>Alexandre Ratchov
2015-07-28In case the system misses enough audio interrupts for DMAAlexandre Ratchov
2015-07-28Add the AUDIO_GETPOS ioctl() to fetch a snapshot of the 4 countersAlexandre Ratchov
2015-07-24Switch back into counting bytes rather than blocks. We can't justAlexandre Ratchov
2015-07-22Represent the current stream position in blocks rather than bytesAlexandre Ratchov
2015-06-25Reimplement the audio driver in a simpler way, removing unused/unusableAlexandre Ratchov
2015-05-22LITTE_ENDIAN -> LITTLE_ENDIANJonathan Gray
2015-05-11Remove all audio format conversion code from the kernel (btw holdingAlexandre Ratchov
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-02-07Let a volume key event unmute. This makes the software state follow theMark Kettenis
2015-01-27remove the second void * argument on tasks.David Gwynne
2015-01-20rework the audio key handling to allocate a message to send to theDavid Gwynne
2014-12-19Use <sys/endian.h> instead of <machine/endian.h>Philip Guenther
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-19fix format mistakes visible if AUDIO_DEBUG is definedAlexandre Ratchov
2013-12-17don't do a timeout+task song and dance, instead use DVACT_WAKEUP directly.Theo de Raadt
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-11-28the stuff in audiovar.h is only used in audio.c, so move it in there toDavid Gwynne
2013-11-04Convert wskbd_set_mixervolume() to use a task internally instead ofMartin Pieuchot
2013-10-30replace workqs with tasks.David Gwynne
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-06-06Microphone mute button support from acpithinkpad (or elsewhere).Theo de Raadt
2010-11-18Don'tMiod Vallat
2010-09-21change quiescing to not call the audio_hw_if halt method in interruptJacob Meuser
2010-09-12DVACT_{QUIESCE,RESUME} for audio(4)Jacob Meuser
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-10-27in the get_default_parameters method, give the low level drivers aJacob Meuser
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-06-18fix previous: start playback when at least one block of data hasJacob Meuser
2009-03-21don't call uiomove(9) at IPL_AUDIO, slightly simplify the codeAlexandre Ratchov
2009-03-16first stage of removing ``copying & needfeel'' flags thatAlexandre Ratchov
2009-01-16deal with sample precisions that are not a power of 2.Jacob Meuser
2008-10-30for devices that do not allow independent setting of recording andJacob Meuser
2008-10-25audio(9) says low level drivers are allowed to change the requestedJacob Meuser
2008-09-29account for data expansion due to emulation in AUDIO_GET{I,O}OFFSJacob Meuser
2008-08-10'flus' -> 'flush', 'waitinf' -> 'waiting'. From Dawe via tech@.Kenneth R Westerback
2008-07-29When paused (or overrun), the record ring pointers are not incrementedAlexandre Ratchov
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
2008-04-04if full-duplex is being turned on, also set the oprtational mode toJacob Meuser
2008-03-22add audio(4) driver the ability to use different block sizes for play andAlexandre Ratchov
2008-03-22when setting the block size, use the scale factor only once inAlexandre Ratchov