summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
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
2007-07-17- the data in the read buffer, that was put there by the hardware,Jacob Meuser
2007-07-14- ANSI function declarationsJacob Meuser
2007-07-10fix the bug rev 1.56 uncovered and rev 1.62 worked around.Jacob Meuser
2007-07-09take into account possible expansion and be more careful not toJacob Meuser
2007-07-09give the user what they expect instead of what we're working withJacob Meuser
2007-07-06- enable full-duplex mode by default if a device is openedJacob Meuser
2007-07-06the AUDIO_WSEEK ioctl should return the number of bytes in the playJacob Meuser
2007-07-06be sure to respect the pause attributeJacob Meuser
2007-07-06- there is no need for audio_init_ringbuffer() to always set the "pause"Jacob Meuser
2007-07-06The poll(2) syscall doesn't work correctly on audio(4) devices.Jacob Meuser
2007-05-31switch wskbd hotkeys over to workq. this eliminates quite a bit of code,Ted Unangst
2007-01-07Protect against zero blocksize (causing a divide by zero) in audiogetinfo().Miod Vallat
2006-11-29Compile the mixer tuning via keyboard code if NWSKBD_HOTKEY if nonzeroMiod Vallat
2006-11-01poll errors should be POLLERR, not some random E valueTed Unangst
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat