diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-04-06 20:07:02 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-04-06 20:07:02 +0000 |
commit | 2f0029d887ad28970097e28bce6373cc22d35c2d (patch) | |
tree | 895e5e0cfc9d6210ff01a77b70088a93fb1c410b /lib/libsndio/sndio.c | |
parent | 82289922c532d67b5593b04881bc3e2fd0002e3f (diff) |
aucat (server):
- make the ``-m mode'' option per subdevice, allowing
subdevices to be play-only or rec-only even if the
server is full-duplex
- add ``monitoring'' mode (with ``-m mon''). This is a
record-only stream from which played streams can be
recorded (kind of ``record what you hear'').
- allow MIDI devices to be subscribed to the controlling
MIDI port of the server, ie what midicat does (with -f
option), but using the -q option.
- add flow control to the protocol, and serialize clock
ticks (sio_onmove() calls) and data chunks. This should
fix certain full-duplex programs, broken with ``magic''
block/buffer size combinations.
- enable 3 block latency which is the minimum theoretical.
Make -z and -b options correspond to device parameters.
- make sio_getcap(3) the same for aucat and sun backends,
ie return whatever is supported (``everything'' in the
aucat case, since everything is actulally supported).
aucat (player):
- enable ``-m mode'' option to select between monitoring
and recording when ``-o file'' is used.
- plug MIDI code to non-server codepath. The MIDI control
device is specified with the ``-q device'' option, as in
server mode.
- impliment lseek()'ing within files (controlled
through MIDI). Necessary to use aucat with a MIDI
sequencer.
midicat (thrubox):
- rename ``-f'' flag to ``-q'', so it has the
same name as in aucat (-f is still working)
ok jakemsr@, tweaks from jmc@
Diffstat (limited to 'lib/libsndio/sndio.c')
-rw-r--r-- | lib/libsndio/sndio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsndio/sndio.c b/lib/libsndio/sndio.c index a4da9322070..57cf91e2976 100644 --- a/lib/libsndio/sndio.c +++ b/lib/libsndio/sndio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sndio.c,v 1.23 2009/08/28 10:52:14 ratchov Exp $ */ +/* $OpenBSD: sndio.c,v 1.24 2010/04/06 20:07:01 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -547,7 +547,7 @@ sio_onmove_cb(struct sio_hdl *hdl, int delta) struct timeval tv0, dtv; long long playpos; - if (sio_debug >= 2 && (hdl->mode & SIO_PLAY)) { + if (sio_debug >= 3 && (hdl->mode & SIO_PLAY)) { gettimeofday(&tv0, NULL); timersub(&tv0, &hdl->tv, &dtv); DPRINTF("%ld.%06ld: ", dtv.tv_sec, dtv.tv_usec); |