summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
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
2008-03-12Set the default high water mark to the buffer size, instead of the bufferAlexandre Ratchov
2008-02-28from audio(4):Jacob Meuser
2007-11-17use tables to determine the best control to use for play.gain, record.gainAlexandre Ratchov
2007-10-28prepare audio(4) for addition of the envy(4) driver: enable 32bit samplesAlexandre Ratchov
2007-10-28the pointer we give to audio_fill_silence() may point in the middle of aAlexandre Ratchov
2007-10-27fix: when a block is captured audio_rint() is called, we mustAlexandre Ratchov
2007-10-25sc->sc_pr.usedlow must be multiple of the block size, fixAlexandre Ratchov
2007-10-25return POLLOUT as long as (lowat + 1) isn't reached. without this audio(4)Alexandre Ratchov
2007-10-23add a new audio_set_blksize() function that sets (and adjusts) the blockAlexandre Ratchov
2007-10-19fix audio_calc_blksize() not to return larger block sizes thanAlexandre Ratchov
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
2007-09-24accept values > 1 for "output_muted". That's what SunOS do. SuggestedAlexandre Ratchov
2007-09-24fix audioctl(1) returning bugus values of 'output_muted' because ofAlexandre Ratchov
2007-09-17implement the output_muted member of audio_info_t as found in originalJacob Meuser
2007-09-17use au_get_gain()/au_set_gain() and the new au_get_mute()/au_set_mute()Jacob Meuser
2007-09-17add functions to mute/unmute outputJacob Meuser
2007-09-10fix uninitialized linked list headAlexandre Ratchov
2007-09-10initialize sc_outports->master and sc_inports->master. Fixes "set failed"Alexandre Ratchov
2007-09-09don't try to set the recording gain or balance through /dev/audio[ctl]Jacob Meuser