summaryrefslogtreecommitdiff
path: root/usr.bin/aucat
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-19Fix integer overflow in block size calculation.Alexandre Ratchov
2019-02-21Use reallocarray in place of malloc(a * b) to handle possibleAlexandre Ratchov
2018-11-07Fix clipping during float to integer conversions.Alexandre Ratchov
2018-09-18clear p->ctx array with memset(); ok ratchov@miko
2018-05-13Add missing pledge(). From Jesper Wallin <jesper at ifconfig.se>.Alexandre Ratchov
2017-11-23Remove useless variable assignments in .au header parsing code. FromAlexandre Ratchov
2017-11-07prefill with silence the buffer where cmap_copy() stores samplesAlexandre Ratchov
2017-11-03Prefill rec buffer with silence. This is necessary because certainAlexandre Ratchov
2017-07-20Fix integer overflow that would causes >12 hours filesAlexandre Ratchov
2017-04-24Fix typos. From Michael W. Bombardieri <mb at ii.net>. Thanks!Alexandre Ratchov
2017-03-24Use the right header sizes for reading .aiff and .au files, ok ratchovNicholas Marriott
2017-01-03Assert we're not freeing buffers we didn't allocate (DEBUG mode).Alexandre Ratchov
2017-01-03Log play volume together with other play parameters.Alexandre Ratchov
2017-01-03Sync utils.c and utils.h to sndiod.Alexandre Ratchov
2016-09-30Set the device rate to the calculated rate. Otherwise, the signalAlexandre Ratchov
2016-09-30Remove unnecessary includes. From Michael W. Bombardieri <mb at ii.net>.Alexandre Ratchov
2016-09-27Don't rely on the resampling code to calculate the number of samplesAlexandre Ratchov
2016-09-23Fix many typos, from Michael W. Bombardieri <mb at ii.net>, thanksAlexandre Ratchov
2016-06-10Simplify the sample rate converter, no behaviour change.Alexandre Ratchov
2016-06-08removed unused fields of resamp structureAlexandre Ratchov
2016-06-07Add -g and -p options to control device and file start position.Alexandre Ratchov
2016-06-07Add resamp_getcnt() routine to calculate the exact number of samplesAlexandre Ratchov
2016-06-02remove forgotten debug printfsAlexandre Ratchov
2016-06-02set exit status to 1 if -n is used without -i and -oAlexandre Ratchov
2016-05-31Pass hr:min:sec:frame.cent to dev_mmcloc() directly and remove theAlexandre Ratchov
2016-05-31To store MMC position, use samples (at device rate) as time unitsAlexandre Ratchov
2016-05-28Fix file block size rounding and ensure it's large enough to store aAlexandre Ratchov
2016-05-27When resampling, use the exact resampling factor instead of the ratioAlexandre Ratchov
2016-05-27Flush rec buffer if there's less than one block space left and refillAlexandre Ratchov
2016-05-27Simplify slot_fill() and slot_flush(). No behaviour changeAlexandre Ratchov
2016-05-27Make resamp_do() get the exact number input and output samples andAlexandre Ratchov
2016-05-26Make format conversion routines return the number of framesAlexandre Ratchov
2016-01-29Check that byte order is native only if we're using more than oneAlexandre Ratchov
2016-01-10trailing spaces, fit in 80 columnsAlexandre Ratchov
2016-01-07Move sndiod man page to section 8.Alexandre Ratchov
2015-12-25follwing -> followingAnthony J. Bentley
2015-11-09Remove xfree(). From Michael W. Bombardieri.mmcc
2015-10-17remove some unneccessary macros; from michael reedJason McIntyre
2015-09-14typo resultung in a markup errorIngo Schwarze
2015-08-27fix typos in comments and error messagesAlexandre Ratchov
2015-08-27Allow sparse blocks to be used as silence if samples are encodedAlexandre Ratchov
2015-05-16Call slot_stop() after the play buffer is drained to properly cleanupAlexandre Ratchov
2015-05-04Fix clipping bug in float to fixed point conversion, causingAlexandre Ratchov
2015-01-21fix macro breakage and update usage();Jason McIntyre
2015-01-21Simplify internals and rewrite file header parsing code:Alexandre Ratchov
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-10typo in debug messageAlexandre Ratchov
2014-08-10initialize mmcpos, found by guentherAlexandre Ratchov
2014-02-08more Va -> Cm fixes from Jan Stary <hans at stare.cz>, thanks!Alexandre Ratchov