| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring
time intervals for debugging output.
ok ratchov@
|
| |
|
|
|
|
| |
reset it and set par->appbufsz instead
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
assuming it can send a full initial data buffer. This requires protocol
version bump (but no library version bump).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to make both look similar
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the mio_* functions. As per suggestion from jmc tidy up spacing in
RETURN VALUES section and Xr poll(2). ok jmc 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.
|
|
|
|
|
| |
And don't document the return value of mio_pollfd() twice, one instance
of which was incorrect. ok jmc, ratchov
|
|
|
|
|
|
| |
Makes "make build" build with WARNINGS=Yes on amd64.
ok espie
|
| |
|
|
|
|
|
| |
as NULL has. This will (hopefully) simplify ports where the user
passes the device string.
|
|
|
|
|
| |
environment variable, so stop using the /dev/audio symlink which
can't be used by sndiod(1) anyway
|
|
|
|
| |
suggested by deraadt@
|
|
|
|
| |
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
than a single one. No behaviour change
|
|
|
|
| |
calls to sio_<backend>_open(). No behaviour change
|
|
|
|
| |
device names
|
|
|
|
|
| |
code. This is simpler as long as not all backends use the same
default.
|
|
|
|
|
| |
when the server and the client are not of the same endianness.
Found by naddy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
requested by deraadt
|
|
|
|
| |
protocol specific code. No behaviour change
|
|
|
|
|
| |
Besides being wrong, they are part of sndio internals and don't need
to be exposed in such a high level man page.
|
|
|
|
| |
macros instead of hardcoded strings. No object change
|
|
|
|
|
| |
need to query the server for supported parameters. So stop using the
AMSG_GETCAP message, and remove it completely from the aucat protocol.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
them in files named mio_<backend>.c
No behaviour change.
|
|
|
|
|
| |
audio-related functions and put them in files named sio_<backend>.c
No behaviour changes.
|
| |
|
|
|
|
|
| |
is available for the stream. As we're at it, remove macros and
functions that are neither used nor documented.
|
| |
|
|
|
|
| |
AMSG_xxx macros, which in turns simplifies the code
|
|
|
|
|
| |
and don't generate clock ticks (ie don't invoke the sio_onmove(3)
call-back).
|