summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
2019-09-05Add the set_blksz() and set_nblks() audio driver functions.Alexandre Ratchov
2019-08-17Move play blocks count from the audio_softc to the audio_buf structure.Alexandre Ratchov
2019-08-17Move block size and block count calculations in their own routines.Alexandre Ratchov
2019-04-05Try to start playback after play buffer pointers are advanced.Alexandre Ratchov
2019-03-31Don't try to recover when DMA pointers wrap if the driver isAlexandre Ratchov
2019-03-12Add new copy_output() and underrun() methods to support driversAlexandre Ratchov
2018-12-31Use the return value of task_add(9) to determine whether the task wasMark Kettenis
2018-12-27must remember to unref device if setting the task isn't done.Ted Unangst
2018-10-31sc argument of start_output, start_input, trigger_output and trigger_inputmiko
2018-06-24Save all mixer elements in the suspend/resume array instead of onlyAlexandre Ratchov
2018-05-26In addition to "on" and "off", allow the audio "record.enable" mixerAlexandre Ratchov
2018-05-26Add a "record.enable" mixer knob to control recording. When recordingAlexandre Ratchov
2018-04-11Add mixer save/restore capability to the audio(4) driver andAlexandre Ratchov
2018-03-21Fix the way we detect xrun on the recording end, which may prevent theAlexandre Ratchov
2018-01-10Remove assignement of sc->round to itself that makes no sense. FromAlexandre Ratchov
2017-11-23No need to grab the audio lock to call audio_canstart() as it checksAlexandre Ratchov
2017-06-26Factor a variable assignment in audiopoll().Alexandre Ratchov
2017-05-16Remove references to /dev/soundN, which was removed last year.Alexandre Ratchov
2017-05-03style improvement from Michael W. Bombardieri <mb at ii.net>Alexandre Ratchov
2017-03-28Simplify rate/channels/bits bounds checking code. FromAlexandre Ratchov
2017-03-11AUDIO_ENCODING_{S,U}LINEAR constants are neither used by low levelAlexandre Ratchov
2017-01-03If gain is above MAX, no need to check whether it's below MIN.Alexandre Ratchov
2016-12-20Fix many typos. From Michael W. Bombardieri <mb at ii.net>. ThanksAlexandre Ratchov
2016-12-12Remove few useless #ifdef AUDIO_DEBUG, spotted byAlexandre Ratchov
2016-11-08Log start/stop of DMA if AUDIO_DEBUG is defined and be less verboseAlexandre Ratchov
2016-10-09Don't allocate struct mixer_devinfo instances on the stack. It is a fairlyMark Kettenis
2016-10-06Fix the condition used to decide whether to automatically start theAlexandre Ratchov
2016-10-04At acpithinkpad attach time determine the value of the mute, and deferTheo de Raadt
2016-09-19Remove unused getdev() audio driver functions.Alexandre Ratchov
2016-09-14Remove drain(), query_encoding(), mappage() and get_default_params()Alexandre Ratchov
2016-08-31Delete unused ioctls and associated macros. Move macros that are stillAlexandre Ratchov
2016-06-21fix typos in comments and spacingAlexandre Ratchov
2016-06-18Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.Alexandre Ratchov
2016-06-01New USB device driver for Audio/Video capture devices based on theMarcus Glocker
2016-05-11Use round_blocksize() to determine the maximum hardware block size (inAlexandre Ratchov
2016-05-11Dont reuse "mult" local variable. Use separate variable for hardwareAlexandre Ratchov
2016-03-16Expose new audio ioctls that do one thing only: start and stop DMA,Alexandre Ratchov
2016-01-29Move the AUDIO_GETDEV ioctl in its own routine.Alexandre Ratchov
2016-01-20make AUDIO_GETDEV ioctl return the device name (ex "azalia0") ratherAlexandre Ratchov
2016-01-20Set byte order the default encoding in the attach method toAlexandre Ratchov
2016-01-09missing breakJonathan Gray
2015-12-14"harware" -> "hardware"mmcc
2015-09-04Fix condition used while seaching candidates for "record level"Alexandre Ratchov
2015-07-29Fix spacing and be more verbose in printfs under #ifdef AUDIO_DEBUG.Alexandre Ratchov
2015-07-28add missing space, from Donovan Watteau <tsoomi at gmail.com>Alexandre Ratchov
2015-07-28In case the system misses enough audio interrupts for DMAAlexandre Ratchov
2015-07-28Add the AUDIO_GETPOS ioctl() to fetch a snapshot of the 4 countersAlexandre Ratchov
2015-07-24Switch back into counting bytes rather than blocks. We can't justAlexandre Ratchov
2015-07-22Represent the current stream position in blocks rather than bytesAlexandre Ratchov
2015-06-25Reimplement the audio driver in a simpler way, removing unused/unusableAlexandre Ratchov