summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
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
2006-05-29Add support for the audio volume keys found on many laptops' builtinMiod Vallat
2006-03-12explicitly initialize a couple variablesJacob Meuser
2006-01-02remove last traces of __BROKEN_INDIRECT_CONFIG.Brad Smith
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
2005-06-02correctly close the audio device in audio_open() if one of theJoris Vink
2005-04-14Make sure recording is started before we return EWOULDBLOCK in a read().Brad Smith
2004-07-10replace strange cpp magic by straight codeVincent Labrecque
2004-01-09remove uvm_extern.hBrad Smith
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-01-26compute record high water mark from record parameters not play parameters; fr...Jason Wright
2002-08-26space cleanup; some from grendel@zeitbombe.orgMichael Shalayeff