| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
on sio_close()
|
|
|
|
|
|
| |
free resources and drop the connection. This allows the client
to ensuire that at any time it's using only one connection, thus
only one MIDI control channel.
|
|
|
|
| |
of volume changes
|
|
|
|
| |
from Thomas Pfaff
|
|
|
|
|
| |
with open(2) and write(2) syscalls.
from Thomas Pfaff, jakemsr is fine with it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cannot cooperate with other programs. The aim of this change is
to allow any program to send midi data to other programs as they
were midi hardware. For instance, this change should solve the
longstanding problem of using a midi sequencer with software
synthesizers. More precisely:
- new midicat(1) utility (actually hardlink to aucat(1)).
it creates software midi thru boxes, allowing programs
to send midi messages to other programs as they were
midi(4) hardware.
- new midi api in libsndio (see mio_open(3)), to access
midi(4) devices and midicat(1) sockets in a uniform way.
- new device naming scheme <service>:<unit>[.<option>],
common to audio and midi.
- new sndio(7) manual describing concepts and naming
The current audio device naming still works, but people having
scripts or configuration files containing device names could read
the sndio(7) man page and slowly start updating device names.
discussed with jakemsr@ and deraadt@, help form jmc@
|
| |
|
|
|
|
| |
future aucat extentions. No functional changes.
|
| |
|
|
|
|
| |
with AMSG_INIT(), rather than the reply we expect.
|
| |
|
|
|
|
| |
than a per-stream debug level. No behaviour change.
|
|
|
|
|
|
|
| |
only if it's in the IDLE state, otherwise in some rare cases a data
chunk may be interpreted as a message, causing the connection to be
dropped.
ok deraadt
|
|
|
|
|
|
| |
in ``waiting state'', otherwise the ACK message will be skipped,
and the other functions not expecting ACKs might be confused by
the ACK.
|
|
|
|
|
|
|
|
| |
the programs calls execvp(2), the new image can't use the device, which
stays open, so other programs get EBUSY. Set the close-on-exec flag to
avoid this.
ok jakemsr
|
|
|
|
|
|
|
|
|
|
|
|
| |
permissions 0700, and create sockets in it. This prevents
one local user to eavesdrop or disturb audio programs of
other users.
if you're using the ``-s socket'' option with an absolute
path as argument, please update it to use a socket name.
requested by many, bits from jakemsr and otto
ok jakemsr
|
| |
|
|
|
|
|
| |
don't expect messages. Avoids busy loops in programs calling
poll(2) on a stopped device.
|
|
|
|
|
| |
even if the device is not started yet. This way, if the server
is killed programs can notice it.
|
|
|
|
| |
from Thomas Pfaff <tpfaff(at)@tp76.info>, thanks
|
|
|
|
|
|
| |
so they are visible only when the DEBUG macro is #defined
and SIO_DEBUG env. variable is set.
requested by many, discussed with jakemsr
|
| |
|
|
|
|
|
|
|
|
| |
the program-part of the buffer size, ie the part that is subject to
underruns. Useful for apps like cdio(1) that don't have their own
rings, or to apps that have a minimum ring size constraint. Setting
the ``bufsz'' parameter becomes deprecated.
ok jakemsr
|
|
|
|
|
| |
it can be used on play-only, record-only and half-duplex devices.
ok jakemsr
|
|
|
|
| |
if the connection to the server is lost.
|
|
|
|
|
|
|
| |
sio_onvol(3) functions. The audio(4) backend tries to use the
inputs.dac, outputs.dac, outputs.output and outputs.master
controls (in this order). Add a sample file in
regress/lib/libsndio/vol/vol.c
|
|
requested by many, "just go for it" deraadt@
|