summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
2023-02-10Adjust knote(9) APIVisa Hankala
2022-11-08fix indentKlemens Nanni
2022-11-02Remove audio(9) speaker_ctl(), let open() handle speakers where neededKlemens Nanni
2022-10-28Remove unused audio(9) get_props()/AUDIO_PROP_FULLDUPLEXKlemens Nanni
2022-10-26Make audio(9) get_props() optional, remove it from duplex driversKlemens Nanni
2022-10-19Remove unused setfd member from struct audio_hw_ifKlemens Nanni
2022-07-31Replace selwakeup() with KNOTE() in audio(4)Visa Hankala
2022-07-02Remove unused device poll functions.Visa Hankala
2022-03-21Constify struct {audio,midi,radio,video}_hw_if. No functional change.Miod Vallat
2022-02-22Make audio(4) event filters MP-safeVisa Hankala
2022-02-16Currently, wskbd_set_mixervolume() only adjusts the volume of the firstAnton Lindqvist
2022-02-16Make room for a cookie argument passed to audio_attach_mi(). CurrentlyAnton Lindqvist
2022-01-09spellingJonathan Gray
2021-05-16panic does not require a \n at the end. When one is provided, it looks wrong.Theo de Raadt
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-05-19Implement kqueue(2) support.Martin Pieuchot
2020-05-16Use softintr to call selwakeup() in the mixer code code-pathAlexandre Ratchov
2020-04-18Remove support for unused /dev/mixer device nodes.Alexandre Ratchov
2020-03-08Wake up processes reading the mixer when the device is detached.Alexandre Ratchov
2020-02-13Fix missing locking during calls to selwakeup().Alexandre Ratchov
2020-01-29Add support for notifications about audio(4) controls changes.Alexandre Ratchov
2020-01-24Rename audio_mixer_{read,write} to audio_mixer_{get,set}.Alexandre Ratchov
2019-12-18audio(4): msleep(9) -> msleep_nsec(9)cheloha
2019-10-07Convert infinite tsleep(9) to tsleep_nsec(9).Martin Pieuchot
2019-09-10If the requensted block size is too large, then use half theAlexandre Ratchov
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