Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-07 | Use the "new" audio(4) api and delete all the useless code to deal | Alexandre Ratchov | |
with artificial complications caused by the old api. No behaviour change. ok armani, semarie | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2016-02-11 | Document how to use sndio in pledged programs. | Tim van der Molen | |
Input and OK jmc@ ratchov@ semarie@ | |||
2016-01-09 | Make code fit in 80 columns, remove trailing spaces & tabs. | Alexandre Ratchov | |
2016-01-07 | fix SEE ALSO; | Jason McIntyre | |
2016-01-07 | Move sndiod man page to section 8. | Alexandre Ratchov | |
suggested by deraadt, fixes from jmc, ok millert | |||
2015-12-23 | remove NULL-checks before free() | mmcc | |
2015-12-20 | Expose internal functions necessary to open audio devices and midi | Alexandre Ratchov | |
ports using existing file descriptors. | |||
2015-11-30 | MIO_IN needs O_RDONLY, not O_WRONLY | Alexandre Ratchov | |
2015-11-25 | -M option was removed, midi ports registered with -q | Alexandre Ratchov | |
2015-11-24 | Fix confusion between SIO_xxx and MIO_xxx options (copy & paste error). | Alexandre Ratchov | |
2015-11-22 | remove unneeded prototypes | Alexandre Ratchov | |
2015-11-22 | Don't remove the type component from the device string before passing | Alexandre Ratchov | |
it to the *_open() functions. It's more flexible this way. No behaviour change. | |||
2015-11-18 | Split function to initialize the raw device in two parts, one to open | Alexandre Ratchov | |
the device node, the other to do the initialization. This will allow with minimal changes, work to be done in two process sharing the fd. No behaviour change. | |||
2015-11-17 | don't call AUDIO_SETFD ioctl as it's a no-op | Alexandre Ratchov | |
2015-10-05 | Fix missing checks for truncation of long file names. Rather than | Alexandre Ratchov | |
checking for truncation every time we touch the string, simply allocate a memory chunk large enough to store the full path. | |||
2015-10-02 | use macros for cookie path and temp file template instead | Alexandre Ratchov | |
of hardcoded strings. no object change. | |||
2015-10-02 | Validate that midi and audio device numbers are integers. | Alexandre Ratchov | |
2015-10-02 | As device path is known, use its size instead of PATH_MAX | Alexandre Ratchov | |
2015-10-02 | Use macros for audio and midi device paths rather than hardcoded | Alexandre Ratchov | |
strings. No object change. | |||
2015-10-02 | As the socket path is known, use its size rather that PATH_MAX. | Alexandre Ratchov | |
2015-10-02 | fix typo in debug message | Alexandre Ratchov | |
2015-10-02 | use macros instead of hard-coded strings for unix sockets paths | Alexandre Ratchov | |
2015-10-02 | fix spacing | Alexandre Ratchov | |
2015-10-02 | remove unused DEFAULT_OPT macro | Alexandre Ratchov | |
2015-10-01 | Remove support for the AUCAT_COOKIE environment variable. | Alexandre Ratchov | |
2015-09-14 | Remove useless quoting from .Fo and .Fn function names, to prevent | Ingo Schwarze | |
development of a cargo cult in case people look at existing files for examples. This achieves a consistent .Fo and .Fn quoting style across the whole tree. | |||
2015-08-01 | Use "Ev" macro for AUCAT_COOKIE environment variable. From Michael | Alexandre Ratchov | |
Reed <m.reed at mykolab.com>. Thanks. | |||
2015-07-28 | Use new AUDIO_GETPOS ioctl instead of AUDIO_GETxOFFS and | Alexandre Ratchov | |
AUDIO_xERROR. It returns a snapshot of the counters we need and avoids inconsistencies. | |||
2015-07-24 | Fix arithmetic mistake causing errors when there are more xruns on the | Alexandre Ratchov | |
record side than on the play side. This almost never happens are record buffer are much larger than play buffers. | |||
2015-05-05 | add missing braces in _aucat_wmsg() | Jonathan Gray | |
As ratchov@ notes: "all _aucat_wmsg() callers set hdl->wtodo, so your diff can't break things that used to work by accident." ok ratchov@ | |||
2015-02-16 | Drop yet another hook for ':' char in midi device names. | Alexandre Ratchov | |
2015-02-16 | Remove backward compat bits to support for ':' character in sndio | Alexandre Ratchov | |
device names. Remove wrong comments. | |||
2015-01-16 | Move to the <limits.h> universe. | Theo de Raadt | |
review by millert, binary checking process with doug, concept with guenther | |||
2014-12-02 | Kill the only instance of .Lb in our tree. It is better to not use | Ingo Schwarze | |
it at all, not even occasionally, because there is no sustainable way (and even less any portable way) to maintain the list of library names. Besides, without such a list, even the formatting looks bad. OK jmc@ bentley@ | |||
2014-11-21 | Initialize the xrun attribute to SIO_IGNORE in sio_sun_getpar(). Found | Alexandre Ratchov | |
by stu@, thanks! | |||
2014-09-07 | Use SOCK_CLOEXEC (instead of later using fcntl(F_SETFD)) when creating sockets | Philip Guenther | |
for talking to aucat/sndiod ok ratchov@ | |||
2014-08-15 | Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC) | Philip Guenther | |
on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@ | |||
2014-08-10 | debug level test for clock_gettime() calls should match | Jonathan Gray | |
ok ratchov@ | |||
2014-03-07 | slightly "nicer" debug printfs | Alexandre Ratchov | |
2014-03-05 | - use relative read/write positions to keep track of buffer | Alexandre Ratchov | |
usage as seen by the caller - refresh current position before reading/writing data, to keep the current position always consistent with read & write pointers - fix confusion between processed samples by the hardware (as reported by GET{I,O}OFFS) and samples played as reported by GETINFO(). Fixes incorrect delta propagated after xruns in play-only and rec-only modes - don't wait for POLLIN or POLLOUT to be set to refresh ring pointers, as they may not be set in certain cases. Fixes sndiod crash after few days of continuous playback. - save current parameters instead of calling getpar() too often | |||
2014-03-05 | say this is the "sndio" api, as we have other audio/midi apis, | Alexandre Ratchov | |
makes "man -k" happier. ok jmc, schwarze | |||
2014-01-22 | clean up macro usage; | Ingo Schwarze | |
tweak and ok ratchov@, ok jmc@ | |||
2013-12-23 | - clarify that sio_close() stops the device first, then | Alexandre Ratchov | |
frees the handle and not the opposite - clarify that sio_close() and sio_stop() dont discard samples in the play buffer. suggested by Reimar Doeffinger <Reimar.Doeffinger at gmx.de> ok jmc@ | |||
2013-12-22 | - replaces "audio stream" by "audio device", as sndio is a device | Alexandre Ratchov | |
abstraction - remove useless statements. ok jmc@ | |||
2013-12-20 | Be less verbose when SNDIO_DEBUG=1 is set. | Alexandre Ratchov | |
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-11-13 | Prefix by '_' symbols that are not part of the API. | Alexandre Ratchov | |
ok deraadt, guenther |