summaryrefslogtreecommitdiff
path: root/lib/libsndio
AgeCommit message (Collapse)Author
2018-09-19fix message to reflect "rmidi" is the expected string; ok ratchov@miko
2018-09-19sys/stat.h not needed here; ok ratchov@miko
2018-07-28Move libsndio session cookie in its own $HOME/.sndio/ directory toAlexandre Ratchov
make libsndio easier to use with unveil(2). "make sense" deraadt
2018-07-28Rename the sndiod unix domain socket to /tmp/sndio/sockN to avoidAlexandre Ratchov
wondering what are these "aucat" files in /tmp. "make sense" deraadt
2017-12-26Missed in previousJeremie Courreges-Anglas
Spotted by patrick@, thanks
2017-12-26Use a version script to limit exported symbolsJeremie Courreges-Anglas
ok ratchov@ kettenis@
2017-12-07* clean up macro usage: use .Ar for command arguments, .Cm for fixedIngo Schwarze
strings to be used in commands, and .Li for example strings * clarify what uses the two environment variables, and that only these two are ignored for issetugid(2) programs triggered by a question from Jan Stary <hans at stare dot cz> feedback and OK ratchov@
2017-11-04polish debug printfs, no behaviour change.Alexandre Ratchov
2017-10-17add missing HISTORY; based on CVS logs and release announcementsIngo Schwarze
2017-01-03Tweak RETURN VALUES section. Move description of sio_pollfd() andMartin Natano
sio_nfds() return values there and add a paragraph about sio_eof(). ok jmc ratchov
2016-04-07Use the "new" audio(4) api and delete all the useless code to dealAlexandre Ratchov
with artificial complications caused by the old api. No behaviour change. ok armani, semarie
2016-03-30for some time now mandoc has not required MLINKS to functionJason 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-11Document how to use sndio in pledged programs.Tim van der Molen
Input and OK jmc@ ratchov@ semarie@
2016-01-09Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2016-01-07fix SEE ALSO;Jason McIntyre
2016-01-07Move sndiod man page to section 8.Alexandre Ratchov
suggested by deraadt, fixes from jmc, ok millert
2015-12-23remove NULL-checks before free()mmcc
2015-12-20Expose internal functions necessary to open audio devices and midiAlexandre Ratchov
ports using existing file descriptors.
2015-11-30MIO_IN needs O_RDONLY, not O_WRONLYAlexandre Ratchov
2015-11-25-M option was removed, midi ports registered with -qAlexandre Ratchov
2015-11-24Fix confusion between SIO_xxx and MIO_xxx options (copy & paste error).Alexandre Ratchov
2015-11-22remove unneeded prototypesAlexandre Ratchov
2015-11-22Don't remove the type component from the device string before passingAlexandre Ratchov
it to the *_open() functions. It's more flexible this way. No behaviour change.
2015-11-18Split function to initialize the raw device in two parts, one to openAlexandre 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-17don't call AUDIO_SETFD ioctl as it's a no-opAlexandre Ratchov
2015-10-05Fix missing checks for truncation of long file names. Rather thanAlexandre Ratchov
checking for truncation every time we touch the string, simply allocate a memory chunk large enough to store the full path.
2015-10-02use macros for cookie path and temp file template insteadAlexandre Ratchov
of hardcoded strings. no object change.
2015-10-02Validate that midi and audio device numbers are integers.Alexandre Ratchov
2015-10-02As device path is known, use its size instead of PATH_MAXAlexandre Ratchov
2015-10-02Use macros for audio and midi device paths rather than hardcodedAlexandre Ratchov
strings. No object change.
2015-10-02As the socket path is known, use its size rather that PATH_MAX.Alexandre Ratchov
2015-10-02fix typo in debug messageAlexandre Ratchov
2015-10-02use macros instead of hard-coded strings for unix sockets pathsAlexandre Ratchov
2015-10-02fix spacingAlexandre Ratchov
2015-10-02remove unused DEFAULT_OPT macroAlexandre Ratchov
2015-10-01Remove support for the AUCAT_COOKIE environment variable.Alexandre Ratchov
2015-09-14Remove useless quoting from .Fo and .Fn function names, to preventIngo 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-01Use "Ev" macro for AUCAT_COOKIE environment variable. From MichaelAlexandre Ratchov
Reed <m.reed at mykolab.com>. Thanks.
2015-07-28Use new AUDIO_GETPOS ioctl instead of AUDIO_GETxOFFS andAlexandre Ratchov
AUDIO_xERROR. It returns a snapshot of the counters we need and avoids inconsistencies.
2015-07-24Fix arithmetic mistake causing errors when there are more xruns on theAlexandre Ratchov
record side than on the play side. This almost never happens are record buffer are much larger than play buffers.
2015-05-05add 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-16Drop yet another hook for ':' char in midi device names.Alexandre Ratchov
2015-02-16Remove backward compat bits to support for ':' character in sndioAlexandre Ratchov
device names. Remove wrong comments.
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
2014-12-02Kill the only instance of .Lb in our tree. It is better to not useIngo 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-21Initialize the xrun attribute to SIO_IGNORE in sio_sun_getpar(). FoundAlexandre Ratchov
by stu@, thanks!
2014-09-07Use SOCK_CLOEXEC (instead of later using fcntl(F_SETFD)) when creating socketsPhilip Guenther
for talking to aucat/sndiod ok ratchov@
2014-08-15Use 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-10debug level test for clock_gettime() calls should matchJonathan Gray
ok ratchov@
2014-03-07slightly "nicer" debug printfsAlexandre Ratchov