Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-02 | Replace %s in the format string, with its value (macro). | Alexandre Ratchov | |
2015-10-02 | As the socket path is known, use its size rather that PATH_MAX. | Alexandre Ratchov | |
2015-10-02 | use macros instead of hard-coded strings for unix sockets paths | Alexandre Ratchov | |
2015-09-05 | In the last commit, the man-page change was committed by mistake, | Alexandre Ratchov | |
backit out. | |||
2015-09-05 | typos in comments: xfree -> free | Alexandre Ratchov | |
2015-08-27 | backout previous for now, as it causes me portability problems | Alexandre Ratchov | |
2015-08-11 | Use INTIM instead of -1 as poll(2) time-out argument. | Alexandre Ratchov | |
Suggested by deraadt. | |||
2015-08-11 | Don't call poll(2) with few millisecond time-out argument when -1 | Alexandre Ratchov | |
could be used. Avoids syscalls when the daemon is not being used. Requested by deraadt. | |||
2015-08-01 | Move processing of polled files in its own function, and call it | Alexandre Ratchov | |
twice: once for files that need immediate handling, and once for files that would block. No behavior change. | |||
2015-07-24 | Crank watchdog timeout from 2 to 4 seconds. | Alexandre Ratchov | |
2015-07-24 | Log when device is disconnected. | Alexandre Ratchov | |
2015-07-24 | Clear watchdog timer when device is closed, fixes use-after-free in | Alexandre Ratchov | |
error code-paths when device is closed before audio is stopped. | |||
2015-07-17 | Use an offsets in the array of pollfd structures instead of pointers. No | Alexandre Ratchov | |
behaviour change. | |||
2015-07-17 | rename nfds to max_nfds, no object change | Alexandre Ratchov | |
2015-07-17 | Move non-debug varibles outside #ifdef DEBUG block | Alexandre Ratchov | |
2015-07-17 | Simplify debug info: log poll descriptors on a single line, record | Alexandre Ratchov | |
timestamps only when they are needed. | |||
2015-07-17 | Stop using interval timers (not inherited by fork(2), obsolete in | Alexandre Ratchov | |
newer posix releases), use the poll(2) timeout parameter instead. Fixes hangs during clean-up after the audio device is disconnected or an unrecoverable error is detected. Suggested by and discussed with millert@. | |||
2015-04-26 | Fix typo in the buffer size value: 7680 in the manpage vs 7860 in | David Coppa | |
the sndiod.c code. Initially, I thought the error was in the manpage, but Alexander told me it was the code, so fix the code instead. ok ratchov@ | |||
2015-02-16 | Check if slot is NULL, and if so, drop the connection. For now slot | Alexandre Ratchov | |
is never NULL, but this is an accident. | |||
2015-02-16 | add missing protos, fix spacing | Alexandre Ratchov | |
2015-02-16 | Allow files to be skipped in the poll(2) event loop, in case | Alexandre Ratchov | |
there are events already available (for immediate processing) | |||
2015-02-16 | Use signed integers as offset in the buffer (as aucat does) to | Alexandre Ratchov | |
avoid other signed integer being accidently promoted to unsigned in future code. | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-11-21 | Don't forget to transmit the xrun attribute in GETPAR messages. Found | Alexandre Ratchov | |
by stu@, thanks. | |||
2014-10-12 | Don't assume that right-shift sign-extends integers. | Alexandre Ratchov | |
2014-10-08 | check audio parameters returned by the audio drivers, | Alexandre Ratchov | |
and nicely report driver bugs rather than crashing/misbehaving later if parameters aren't consistent. | |||
2014-08-13 | Spelling - "alignment" not "alignement". ok ratchov | Nicholas Marriott | |
2014-06-02 | fix uninitialized sock->port variable, causing crashes in certain | Alexandre Ratchov | |
error handling code paths (ex. wrong/unsupported mode). | |||
2014-06-02 | log attach position only if log_level >= 0, | Alexandre Ratchov | |
remove empty dev_mon_snoop() function | |||
2014-03-17 | Drop dev_clear(), merge dev_full_cycle() and dev_empty_cycle() | Alexandre Ratchov | |
into dev_cycle(). No behavior change. | |||
2014-03-17 | fix wrong file status strings | Alexandre Ratchov | |
2014-03-17 | typo in debug printf | Alexandre Ratchov | |
2014-03-17 | unbreak monitoring mode, which was shifted in time by 1 block | Alexandre Ratchov | |
2014-03-07 | remove unused "delta" argument from onmove callbacks | Alexandre Ratchov | |
2014-03-07 | remove unused mmc start/stop/relocate call-backs as they don't | Alexandre Ratchov | |
make sense for clients and are handled through midi anyway | |||
2014-03-05 | - properly set initial position: fixes incorrect position reporting | Alexandre Ratchov | |
on busy machines configured to use tiny block sizes - run play and rec cycle in the same loop. No behavior change, but the code is much simpler this way. | |||
2014-03-05 | remove unused "autostart" feature | Alexandre Ratchov | |
2014-03-05 | remove (unused) square tone generator | Alexandre Ratchov | |
2014-03-05 | Check that socket is writable before attempting to write data | Alexandre Ratchov | |
packets. | |||
2014-03-05 | remove unused var | Alexandre Ratchov | |
2014-02-08 | copy the correct number of channels in join/expand | Alexandre Ratchov | |
2014-02-08 | remove debug bits: dont fill with junk unused channels | Alexandre Ratchov | |
2014-02-08 | use the correct integer width in calls to AMSG_ISSET() | Alexandre Ratchov | |
2013-12-31 | Drop blocks and instert silence immediately in the socket rx/tx code | Alexandre Ratchov | |
path rather than waiting for the next device cycle. This fixes deadocks when the slot uses the SIO_SYNC mode. | |||
2013-12-31 | round client block size to nearest possble | Alexandre Ratchov | |
2013-12-20 | set the target device number of standard system exclusive | Alexandre Ratchov | |
messages to 0x7f (aka "any device"). | |||
2013-11-21 | use -Wmissing-prototypes | Alexandre Ratchov | |
2013-11-19 | move -Wxxx flags from CFALGS to COPTS | Alexandre Ratchov | |
suggested by deraadt | |||
2013-11-18 | add missing prototypes | Alexandre Ratchov | |
2013-09-28 | Fix condition to check if a midi port is referenced. Remove unused bits. | Alexandre Ratchov | |