summaryrefslogtreecommitdiffstats
path: root/usr.bin/aucat
AgeCommit message (Expand)AuthorFilesLines
2021-01-12const-ify lookup tables; ok ratchov@naddy4-25/+25
2021-01-11Use sndiod's 8-th order FIR low-pass filter for resamplingratchov2-9/+149
2020-12-10Check sample signedness when setting up format conversions.ratchov1-2/+4
2020-04-22sort SEE ALSO;jmc1-4/+4
2020-04-21move mixerctl and audioctl man pages to section 8, as these workderaadt1-4/+4
2020-02-09Rename WAV_H "include guard" macro of afile.h to AFILE_H.ratchov1-4/+4
2019-07-2816 channels is not enough to handle all common uaudio(4) devices, soratchov1-2/+2
2019-07-05Fix spacing and comments, no code change.ratchov1-4/+6
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-11/+11
2019-05-19Fix integer overflow in block size calculation.ratchov1-12/+22
2019-02-21Use reallocarray in place of malloc(a * b) to handle possibleratchov1-1/+5
2018-11-07Fix clipping during float to integer conversions.ratchov1-3/+3
2018-09-18clear p->ctx array with memset(); ok ratchov@miko1-4/+4
2018-05-13Add missing pledge(). From Jesper Wallin <jesper at ifconfig.se>.ratchov1-0/+9
2017-11-23Remove useless variable assignments in .au header parsing code. Fromratchov1-3/+0
2017-11-07prefill with silence the buffer where cmap_copy() stores samplesratchov1-1/+14
2017-11-03Prefill rec buffer with silence. This is necessary because certainratchov1-0/+4
2017-07-20Fix integer overflow that would causes >12 hours filesratchov1-5/+5
2017-04-24Fix typos. From Michael W. Bombardieri <mb at ii.net>. Thanks!ratchov1-4/+4
2017-03-24Use the right header sizes for reading .aiff and .au files, ok ratchovnicm1-2/+2
2017-01-03Assert we're not freeing buffers we didn't allocate (DEBUG mode).ratchov2-10/+10
2017-01-03Log play volume together with other play parameters.ratchov1-0/+4
2017-01-03Sync utils.c and utils.h to sndiod.ratchov2-4/+21
2016-09-30Set the device rate to the calculated rate. Otherwise, the signalratchov1-0/+1
2016-09-30Remove unnecessary includes. From Michael W. Bombardieri <mb at ii.net>.ratchov5-11/+3
2016-09-27Don't rely on the resampling code to calculate the number of samplesratchov1-0/+4
2016-09-23Fix many typos, from Michael W. Bombardieri <mb at ii.net>, thanksratchov1-6/+6
2016-06-10Simplify the sample rate converter, no behaviour change.ratchov1-54/+18
2016-06-08removed unused fields of resamp structureratchov2-5/+2
2016-06-07Add -g and -p options to control device and file start position.ratchov2-12/+79
2016-06-07Add resamp_getcnt() routine to calculate the exact number of samplesratchov3-44/+52
2016-06-02remove forgotten debug printfsratchov1-4/+0
2016-06-02set exit status to 1 if -n is used without -i and -oratchov1-1/+1
2016-05-31Pass hr:min:sec:frame.cent to dev_mmcloc() directly and remove theratchov2-18/+24
2016-05-31To store MMC position, use samples (at device rate) as time unitsratchov1-15/+25
2016-05-28Fix file block size rounding and ensure it's large enough to store aratchov1-1/+1
2016-05-27When resampling, use the exact resampling factor instead of the ratioratchov2-4/+32
2016-05-27Flush rec buffer if there's less than one block space left and refillratchov1-2/+4
2016-05-27Simplify slot_fill() and slot_flush(). No behaviour changeratchov1-12/+8
2016-05-27Make resamp_do() get the exact number input and output samples andratchov3-53/+118
2016-05-26Make format conversion routines return the number of framesratchov3-54/+57
2016-01-29Check that byte order is native only if we're using more than oneratchov1-2/+2
2016-01-10trailing spaces, fit in 80 columnsratchov5-24/+31
2016-01-07Move sndiod man page to section 8.ratchov1-5/+5
2015-12-25follwing -> followingbentley1-3/+3
2015-11-09Remove xfree(). From Michael W. Bombardieri.mmcc4-24/+12
2015-10-17remove some unneccessary macros; from michael reedjmc1-13/+10
2015-09-14typo resultung in a markup errorschwarze1-3/+3
2015-08-27fix typos in comments and error messagesratchov1-5/+5
2015-08-27Allow sparse blocks to be used as silence if samples are encodedratchov1-1/+1