summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/aucat.c
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-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
2012-02-09Crank the default buffer size to 160ms (ie 7680 frames at 48kHz).Alexandre Ratchov
2012-01-26Make the default rate 48kHz and the default block size 10ms. TheseAlexandre Ratchov
2012-01-10When a sub-device is created (-s), check if a hardwareAlexandre Ratchov
2011-12-09fix usage string: remove -M from aucat and -l from aucat and sndiodAlexandre Ratchov
2011-12-09add a new sndiod audio/midi daemon and hide aucat server-specificAlexandre Ratchov
2011-12-02don't use a "server" flag, just check if we expose sub-devicesAlexandre Ratchov
2011-12-02reuse midi-control code to implement midi thru boxes and removeAlexandre Ratchov