Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
|
|
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
|
|
|
|
- sort usage() for midicat
- tweak a bit of unclear wording
ok ratchov
|
|
of code that becomes unused. Few command line arguments changes are
required though:
- stream definitions (-ios) now must follow devices definitions they
are attached to (-fMn)
- the -n option is now a special "loopback" device and is thus used
like -f, eg it must precede streams
- in midicat, midi thru boxes are not created automatically anymore,
the new "-M" option must be used for that
- channel numbers (-Cc options) correspond always to channel numbers
of the hardware.
- the -u option isn't needed anymore
- increase the log verbosity so user errors are logged
without using -d
tested by many, help from jmc
|
|
|
|
|
|
|
|
calculations compared to the time spend on sleeping in poll().
|
|
midi client could determine which volume knob corresponds to which
client. Such sysex messages are ignored by hardware or software
that don't understand them
|
|
stays closed also if -q is used. As we're at it, add -a to midicat so
it behaves like aucat.
|
|
quality to save bandwith when a remote audio device is used.
|
|
|
|
is the MTC clock rate. Suggested by Alexey Suslikov
|
|
No behaviour change.
|
|
found by peters at schwertfisch.de, thanks
|
|
is posted and then update all timers and restart the event loop.
Fixes throtteling while midi inputs are drained.
|
|
inputs anymore, to ensure data is drained
|
|
Fixes midi inputs not being properly drained when they are
temporarily blocked to limit input data rate
|
|
|
|
|
|
|
|
adjusted when new streams are connected and disconnected. Disabling
automatic volume adjustment makes sense if all streams are recorded
with properly lowered volumes.
|
|
|
|
from peters at schwertfisch.de, thanks!
|
|
exclusive messages in a nice sysex.h file. No behaviour change.
|
|
|
|
addresses (ie pass NULL to getaddrinfo which would return 0.0.0.0
and :: in most cases)
|
|
when the server and the client are not of the same endianness.
Found by naddy.
|
|
|
|
add the missing SOCK_AUTH state
|
|
- reword EXAMPLES a little, for readability
|
|
from Michael W. Bombardieri <mb at ii.net>, thanks!
|
|
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
|
|
|
|
ok ratchov
|
|
be free()ed, iterate over the file_list, and find the structure
to free. This is safer and simpler. No behaviour change
|
|
|
|
no need to increase entropy by inventing new names. Don't forget to
rebuild libsndio after this change
|
|
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.
|
|
send any pending messages resulting from the processing (ACKs, position
changes, volume changes). In theory the previous approach didn't
ensuire that outgoing messages are not reordered.
|
|
most pages do already.
ok jmc@ ratchov@
|