summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
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
2002-06-16implement kqueue for audio; tested on wiggy and niels@ okMichael Shalayeff
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-06correct monitor port matching.Federico G. Schwindt
2002-02-04if we have a monitor port, don't get it, set it.Federico G. Schwindt
2002-01-20make all audio drivers use the new allocm and round_buffersize decl's.Eric Jackson
2002-01-10return ENOTTY not EINVAL in default: in *ioctl()Michael Shalayeff
2002-01-09make sure mixer was opened for write for AUDIO_MIXER_WRITEMichael Shalayeff
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-11-01Change d_mmap in struct cdevsw from:Artur Grabowski