summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/aucat.c
AgeCommit message (Expand)Author
2024-07-08aucat: check for failled allocationAlexandre Ratchov
2024-03-22aucat: Allow any device sample encoding.Alexandre Ratchov
2024-03-22aucat: Add a bytes-per-sample argument to allcobuf()Alexandre Ratchov
2024-03-20aucat: Add generic channel mapping in place of -j and -c options.Alexandre Ratchov
2024-02-01aucat: Fix MIDI control of the levels of individual filesAlexandre Ratchov
2022-03-07Switch internal sample representation to 24-bit fixed-pointAlexandre Ratchov
2021-01-12const-ify lookup tables; ok ratchov@Christian Weisgerber
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-05-13Add missing pledge(). From Jesper Wallin <jesper at ifconfig.se>.Alexandre 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-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
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-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
2015-11-09Remove xfree(). From Michael W. Bombardieri.mmcc
2015-08-27fix typos in comments and error messagesAlexandre Ratchov
2015-05-16Call slot_stop() after the play buffer is drained to properly cleanupAlexandre 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
2013-11-18remove unused variablesAlexandre Ratchov
2013-11-18add missing prototypesAlexandre Ratchov
2013-11-12remove bogus legacy server-specific bits that cause confusionAlexandre Ratchov
2012-12-03Remove server capability description from the documentation and fromAlexandre Ratchov
2012-11-23Since there's no sndiod -> aucat link anymore, allow aucat to be runAlexandre Ratchov
2012-10-27don't stat & test sndio home directory since we never use it.Alexandre Ratchov
2012-10-27don't (re-)define SNDIO_USER and SNDIO_PRIO if they are already defined,Alexandre Ratchov
2012-06-27Uniformize error messages printing, use err() instead of fprintf()Alexandre Ratchov
2012-06-19Remove hidden options that are not needed any more,Alexandre Ratchov
2012-05-23Make the "default" string a valid device name that has the same effectAlexandre Ratchov
2012-04-11Use "unsigned int" rather than "unsigned". No object change.Alexandre Ratchov