summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Collapse)Author
2001-08-11no need to include vm_prot.h here.Artur Grabowski
2001-07-27Correct return values from audiommap.Artur Grabowski
2001-07-03Make the audio device play nice with revoke(2) by having it resetHugh Graham
both directions if neither read nor write flags are set on close. Cleared by niklas and with some analysis by bjc.
2001-01-28Add a field to mixer_devinto_t that indicates the minimum delta to changeAaron Campbell
mixer value. A value of 0 indicates that the driver doesn't supply a delta. The change is backwards compatible. From NetBSD (needed for uaudio(4) update).
2000-11-09cast pointer to a long for alpha's sake; pointed out by ericj@Michael Shalayeff
2000-07-19As in NetBSD, added direction to allocm/round_buffer_size APIs.Constantine Sapuntzakis
Accomplished by adding functions to audio_hw_if instead of redoing current ones so as to minimize need to change drivers. For Neomagic, tell the AC97 subsystem that we don't support reads.
2000-05-24Permit detach of audio devices, such as uaudio. Selected codeHakan Olsson
from NetBSD/Lennart Augustsson. (niklas@ ok)
2000-04-10make .mpg playing more usefull, i.e. supply entropyMichael Shalayeff
2000-01-03Remove dependencies between midi & audio. midi now will compile onFederico G. Schwindt
speaker only systems.
1999-12-05Pass device mode to query_encoding in the structure to fill, soMarc Espie
that devices that don't need it are not affected. eso has those weird 16 bits mode that differ in endianess depending on READ/WRITE. Use this to avoid setting AUDIO_FLAGS_EMULATED needlessly. Reorder eso modes slightly so that emulated modes are always last.
1999-11-20ioctl arguments are u_long.Marc Espie
Replaces `undefined' code with `defined' behavior... gcc 2.96 performs switch cases range analysis, warns about unreachable cases, and weeds them out. In switch(i) { case VALUE: } VALUE is first coerced into the type of i. If i is signed, VALUE is unsigned and exceeds i range, you lose... the result of the conversion is undefined.
1999-06-19From NetBSD:Jason Wright
Don't clobber the error returned by uiomove() when starting the audio output (in case we got a partial block).
1999-01-02Midi & sequencer support from NetBSD, mostly by Lennart AugustssonNiklas Hallqvist
1998-11-20careful off handling in mmap routinesTheo de Raadt
1998-11-03Partial sync with NetBSD, adds new trigger methods.Jason Downs
1998-07-24Kill the god damned COMPAT_12. Thanks, guys.Jason Downs
1998-04-26update audio from NetBSD, mostly by Lennart Augustsson <augustss@cs.chalmers.se>Niels Provos
1998-04-25Change a '< sc->sc_lowat' to '<= sc->sc_lowat' for consistency with rest ofTodd C. Miller
source. I've had this in my tree forever and I don't recall the originator.
1997-07-10sync with NETBSD 30/3/97 + adapating aria.cNiels Provos
1997-04-09change space to "_" in tsleep() stringkstailey
1996-05-26sync 0521Theo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18NetBSD 960317 mergeNiklas Hallqvist
1996-03-02From NetBSD: sync with 960217 sourcesNiklas Hallqvist
1996-02-27From NetBSD: update to 960217 sourcesNiklas Hallqvist
1996-01-08from netbsd; Make the block size always a whole number of samplesTheo de Raadt
1995-11-20provide floor for sampling rate; from khym@bga.com; netbsd pr#1770Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt