Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-05 | use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze | Ted Unangst | |
2013-04-06 | explain what "default" means in sndio.7 rather than {sio,mio}_open.3, | Alexandre Ratchov | |
with tweaks from jmc | |||
2013-04-03 | Handle big time_t. | Philip Guenther | |
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring time intervals for debugging output. ok ratchov@ | |||
2013-03-13 | in debug mode, log successful connections, from Jan Stary | Alexandre Ratchov | |
2013-02-01 | If par->bufsz is set (it's documented as readonly since years) then | Alexandre Ratchov | |
reset it and set par->appbufsz instead | |||
2012-12-22 | some fixes, based on a diff from Martin Toft; | Jason McIntyre | |
2012-11-23 | Remplace aucat server by a new sndiod daemon aimed to be simpler | Alexandre Ratchov | |
smaller and faster than aucat. It's a drop in replacement with the following exceptions that don't affect the default setup: - The sample rate and the encoding are a per-device parameters thus -r and -e options must precede the corresponding -f option - MIDI thru boxes are dynamically created and no -M option is required anymore, so -M was removed. - MIDI ports are exposed with a new ``midi/N'' name, rather than abusing MIDI thru boxes. with help from armani@, ok deraadt@ | |||
2012-11-23 | Make the client wait for the first flow control message rather than | Alexandre Ratchov | |
assuming it can send a full initial data buffer. This requires protocol version bump (but no library version bump). | |||
2012-11-02 | Use dedicated messages for flow control instead of abusing clock tick | Alexandre Ratchov | |
messages and enable flow control for MIDI. Since this requires protocol version bump, both sndiod and libsndio must be kept up to date to work together. | |||
2012-10-27 | make midi code use non-blocking i/o as does audio code, in order | Alexandre Ratchov | |
to make both look similar | |||
2012-10-27 | crank SIO_MAXNFDS | Alexandre Ratchov | |
2012-10-27 | check that polled fd number is smaller than SIO_MAXNFDS | Alexandre Ratchov | |
2012-10-27 | include netinet/in.h to get htons & friends prototypes | Alexandre Ratchov | |
2012-09-15 | Improve instructions for handling non-blocking I/O with poll(2) and | Stefan Sperling | |
the mio_* functions. As per suggestion from jmc tidy up spacing in RETURN VALUES section and Xr poll(2). ok jmc ratchov | |||
2012-09-14 | Don't read the xrun counter before the offset in the audio ring, | Alexandre Ratchov | |
otherwise we'd open a tiny time window during which a xrun may occur in turn making the sio_onmove() clock wrong during one tick. | |||
2012-09-14 | Have mio_open(3) document all return values in the RETURN VALUES section. | Stefan Sperling | |
And don't document the return value of mio_pollfd() twice, one instance of which was incorrect. ok jmc, ratchov | |||
2012-09-12 | Define empty CDIAGFLAGS for programs that use Werror. | Christiano F. Haesbaert | |
Makes "make build" build with WARNINGS=Yes on amd64. ok espie | |||
2012-09-02 | Be nice with the server and align data packets to audio block boundary | Alexandre Ratchov | |
2012-05-23 | Make the "default" string a valid device name that has the same effect | Alexandre Ratchov | |
as NULL has. This will (hopefully) simplify ports where the user passes the device string. | |||
2012-05-11 | The default device is selected with sndiod(1) or the AUDIODEVICE | Alexandre Ratchov | |
environment variable, so stop using the /dev/audio symlink which can't be used by sndiod(1) anyway | |||
2012-04-11 | Use "unsigned int" rather than "unsigned". No object change. | Alexandre Ratchov | |
suggested by deraadt@ | |||
2012-02-24 | Correct the spelling of "transferred" and "transferring" | Philip Guenthe | |
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@ | |||
2011-12-24 | formatting errors, found using freebsd's "igor"; | Jason McIntyre | |
2011-12-09 | mention sndiod rather than aucat when talking about the server | Alexandre Ratchov | |
2011-11-15 | Add a "device number" component in sndio(7) device names, allowing a | Alexandre Ratchov | |
single aucat instance to handle all audio and MIDI services. Since this partially breaks compatibility, this is a opportunitiy to fix few other design mistakes (eg ':' being used by inet6, type name vs api name confusion, etc..). This leads to the following names: type[@hostname][,unit]/devnum[.option] The device number is the minor device number for direct hardware access (ie the 'N' in /dev/audioN). For aucat, this is the occurence number of the -f (or -M) option. There's a compatibility hook to keep old names working if only one aucat server is running. | |||
2011-10-22 | Don't attempt to send data not available for sending yet. Analysed | Alexandre Ratchov | |
and fixed by Remco <remco at d-compu.dyndns.org>, thanks! | |||
2011-10-18 | some minor tweaks concerning midicat removal; ok ratchov | Jason McIntyre | |
2011-10-17 | Remove midicat since aucat can now be used instead of midicat | Alexandre Ratchov | |
with almost the same syntax (roughly an extra -M option). Thru boxes are created with aucat, and corresponding MIDI port names have the "aucat" prefix instead of "midithru". The old device name will still work some time for backward compatibility. ok deraadt | |||
2011-10-05 | restart connect(2) if it returns EINTR | Alexandre Ratchov | |
2011-10-04 | some tweaks, from Tim van der Molen | Jason McIntyre | |
2011-06-03 | one midicat server can export multiple midithru ports | Alexandre Ratchov | |
2011-06-03 | don't forget to send the initial clock tick | Alexandre Ratchov | |
2011-05-09 | in sio_psleep(), use an array of SIO_MAXNFDS pollfd strucures rather | Alexandre Ratchov | |
than a single one. No behaviour change | |||
2011-05-06 | use an array of backends and iterate on it, instead of inlining | Alexandre Ratchov | |
calls to sio_<backend>_open(). No behaviour change | |||
2011-05-06 | remove almost two years old hack to support legacy audio/midi | Alexandre Ratchov | |
device names | |||
2011-05-03 | determine the default device in backend code instead of the common | Alexandre Ratchov | |
code. This is simpler as long as not all backends use the same default. | |||
2011-05-02 | Add missing byter order conversions in message headers. Fixes the case | Alexandre Ratchov | |
when the server and the client are not of the same endianness. Found by naddy. | |||
2011-05-02 | set the TCP_NODELAY option for TCP connections | Alexandre Ratchov | |
2011-04-28 | Implement a new authentication method allowing aucat and midicat to | Alexandre Ratchov | |
work over TCP, for instance, to expose the sound card of one machine with other machines of the network. The first client generates a 128-bit random number (aka the session cookie), saves it in $HOME/.aucat_cookie and sends it to the server. Successive clients load the cookie from $HOME/.aucat_cookie and send it to the server but the server accepts only clients whose cookie matches the session cookie. When all clients are gone, the session is over, and another cookie could start a new session, and so on. TCP is enabled on the server with the new -L option, and on the client side hostnames are specified with a new optional component in the device name. hints from damien, dlg and deraadt, tweaks from jmc | |||
2011-04-27 | move amsg.h containing protocol defs from aucat side to libsndio side. | Alexandre Ratchov | |
requested by deraadt | |||
2011-04-18 | slightly cleanup by separating socket-specific code from | Alexandre Ratchov | |
protocol specific code. No behaviour change | |||
2011-04-16 | remove aucat(1) and midicat(1) socket paths from the FILES sections. | Alexandre Ratchov | |
Besides being wrong, they are part of sndio internals and don't need to be exposed in such a high level man page. | |||
2011-04-16 | for unix domain socket addresses use AUCAT_PATH and MIDICAT_PATH | Alexandre Ratchov | |
macros instead of hardcoded strings. No object change | |||
2011-04-16 | Since aucat supports any parameter combination sio_getcap() doesn't | Alexandre Ratchov | |
need to query the server for supported parameters. So stop using the AMSG_GETCAP message, and remove it completely from the aucat protocol. | |||
2011-04-16 | Make aucat audio and midi backends share the same code to communicate | Alexandre Ratchov | |
with the server. As we're at it use the same protocol for midi and audio. Now, both audio and midi code use the same SNDIO_DEBUG environment variable to turn on/off DPRINTF's. | |||
2011-04-12 | Use mio_<backend>_ prefix for private midi-related functions and put | Alexandre Ratchov | |
them in files named mio_<backend>.c No behaviour change. | |||
2011-04-08 | Clean up function naming: use sio_<backend>_ prefix for private | Alexandre Ratchov | |
audio-related functions and put them in files named sio_<backend>.c No behaviour changes. | |||
2010-11-06 | tweak previous; | Jason McIntyre | |
2010-11-06 | make sio_onvol(3) return a integer exposing whether a volume knob | Alexandre Ratchov | |
is available for the stream. As we're at it, remove macros and functions that are neither used nor documented. | |||
2010-10-23 | add forgotten ``static'' | Alexandre Ratchov | |