summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
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
2007-08-08revert the change in rev 1.60 of audio.c and the correspondingJacob Meuser
2007-08-02for consistency, keep the count of dropped data in HW sample size, andJacob Meuser
2007-08-02the MI audio layer never really knows what encoding the hardware uses;Jacob Meuser
2007-07-31always ignore attempts to set the record or play port to 0.Jacob Meuser
2007-07-18- when traversing mixer fields in the attach routine and connectingJacob Meuser
2007-07-18move the processing of the pause attribute to the end of audiosetinfo(),Jacob Meuser
2007-07-17more places where the difference between the hardware sample sizeJacob Meuser