summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
AgeCommit message (Expand)Author
2018-02-06Revert my wrong r1.380 and add a comment instead.isaki
2018-01-21CID-1427745: kill possible buffer overflows.christos
2018-01-12Allow open of audioctl devices whilst audio is open with the mixernat
2018-01-09Forcefully detach children of audio instances.nat
2018-01-09Rework of play/rec threads to ensure effective use of locks.nat
2018-01-06Only signal a pause change on a transition of a pause change.nat
2018-01-06Whitespace.nat
2017-12-16Convert double block size of data though the play back filters. This isnat
2017-12-16Allow the hwvc block size to be set to any amount with audio mixingnat
2017-12-16Only init the mix ring if sc_usemixer is enabled as with mixing set tonat
2017-11-30add fo_name so we can identify the fileops in a simple way.christos
2017-11-28Speed up improvements for MIX_FUNC.nat
2017-11-16Use correct combination of mix ring block size and vc playring used lownat
2017-11-16Add vc to debug messages in audio_mix.nat
2017-11-15For the virtual stream it is required to insert silence. As these streamsnat
2017-11-15The harware vc is rounded to a power of two then round_blocksize is called.nat
2017-11-15audio_pint improvements for when audio mixing is disabled.nat
2017-11-15Improved audiostartp for when audio mixing is disabled.nat
2017-11-15Improved draining function for when the mixer is and is not enabled.nat
2017-11-15Plug memory leak as the mixer state does not grow or shrink when audionat
2017-11-15Don't return EIO falsely when dealing with the hardware vc.nat
2017-11-07Use mixring blocksizes in the right places when mixer is enabled.nat
2017-11-07A sysctl is now available to disable the in kernel mixer.nat
2017-11-04AU_RING_SIZE -> s.bufsize in audio_initbufs.nat
2017-11-03Blocksizes sould be rounded to a power of 2 as OSS applications need this.nat
2017-11-03Revert to previous. It is necessary to use the calculated blocksize ifnat
2017-11-03No need to ratify block size twice as this is done in audio_initbufs.nat
2017-11-03Calc latency when altering precision, frequency and channels sysctls.nat
2017-11-03Allow for block sizes less than hw block size. This allows for the lowestnat
2017-11-03Use mix ring block size in audio write, startp, and audio drain.nat
2017-11-02Revert commit rev 1.419 to audio.c. This should address PR kern/52685.nat
2017-10-31Only allow blocksizes greater or equal to the calculated one.nat
2017-10-31Move calculation of sc_latency into a function.nat
2017-10-31round_blocksize is only used for the hardware ring buffer. All othernat
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