summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
2017-10-28No externs in .c files! Include ioconf.h for struct cfdriver xyz_cd.riastradh
2017-10-27Independent blocksizes for virtual channels where a static blocksize isnat
2017-10-26Ensure that the low/high water marks are at least PREFILL_BLOCKS.nat
2017-10-26Add latency sysctl to adjust hw blocksize and hence latency of the mixer.nat
2017-10-25Use C99 initializer for filteropsmaya
2017-10-21Fix return value. fo_kqfilter is expected to return errno on error.isaki
2017-10-21Fix return value. fo_poll is expected to return revents on error.isaki
2017-10-21Fix return value. fo_mmap is expected to return errno on error.isaki
2017-10-01Ensure proper use of sc_opens (play back) and sc_recopens (recording).nat
2017-09-30Improve logic in audio_initbufs(). No functional changes intended.isaki
2017-09-26Call audio_mix for a third time - thus ensuring there is a block of datanat
2017-09-24Move play/rec mix ring buffers into a virtual channel sc_mixring. NFCI.nat
2017-09-02Separete sc->sc_pr/rr (mix ring) block size and hwvc->sc_mpr/mrr (hw ring)isaki
2017-09-02Remove duplicated code.isaki
2017-09-02Don't assign sc->sc_pr/rr.blksize in audio_initbufs().isaki
2017-08-20hw_if->set_params is mandatory, so it will never be NULL.isaki
2017-08-20Remove meaningless sc_blkset.isaki
2017-08-20Remove goto in mix_write()isaki
2017-08-17Fix typo. sc_mrr -> sc_mpr for play buffer.isaki
2017-08-15Clean up mix_write().isaki
2017-08-15Avoid possibility of integer overflow (and clean up).isaki
2017-08-15Clean up audio_open().isaki
2017-08-15Clean up audio_allocbufs().isaki
2017-08-15Remove dead codes.isaki
2017-08-15Split the first special element from sc_audiochan list.isaki
2017-08-13Remove mixer chan from sc_audiochan.isaki
2017-08-08If the harware ring is starved of data...Insert silence into the mix ringnat
2017-08-08Remove dead codes. chan will never be NULL in SIMPLEQ_FOREACH.isaki
2017-08-08Introduce audio_destroy_pfilters()/audio_destroy_rfilters()isaki
2017-08-08Add missing initialization of sc_rfilters in audioattach().isaki
2017-08-08Remove a duplicated line.isaki
2017-08-06Ensure to call mix write if inserting silence into the hw ring.nat
2017-08-05Reset mixer ports on opening /dev/sound.nat
2017-08-03Fix resource leaks on error handling in audio_open().isaki
2017-07-30Typo in debug message.isaki
2017-07-30The audio module will now compile with WARNS=5.nat
2017-07-29"bits" sounds better than "name" for argument name.isaki
2017-07-29Use do .. while (0) for macros.isaki
2017-07-29Fix a resource leak on error handling in audio_alloc_ring().isaki
2017-07-29Fix error handling of ring buffers allocation in audioattach().isaki
2017-07-290 -> NULL in audioattach()isaki
2017-07-29const-ify.isaki
2017-07-29Improve audio_set_vchan_defaults().isaki
2017-07-28Remove dead code from audio open. Found by isaki@.nat
2017-07-28Remove unused code from audio_set_params.nat
2017-07-28Refactoring of order of auto config combinations. Most common formatsnat
2017-07-28Mixer device bounds checking.nat
2017-07-27"sc_format[0]." is better than "sc_format->" here.isaki
2017-07-27Improve in #ifdef AUDIO_INTR_TIME.isaki
2017-07-25Fix a panic caused by opening pad(4)'s mixer before the correspondingnat