| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
but later, it will permit aucat to reject connections from
clients statically linked to a unsupported version of libsndio.
idea from kittenis, otto and sthen
|
|
|
|
| |
is actually linear
|
|
|
|
|
| |
AUDIO_SETINFO() to set the initial parameters, since AUDIO_SETINFO()
can fail.
|
|
|
|
|
|
|
|
| |
by the device, we may end up with different recording and playback
parameters, which will break almost all full duplex apps on such
devices. For instance, this should fix full-duplex apps not working
on devices that can record at any sample rate but can play
at 48kHz only.
|
|
|
|
|
| |
as a programming error. At any stage the program should be alble to
cleanly free resources and close the device.
|
|
|
|
| |
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
|
|
|
|
|
|
| |
realtime. For now only the playback volume of individual streams can be
changed/monitored. To each stream is assigned a MIDI channel; the volume
is changed/monitored using the standard controller number 7.
|
|
|
|
|
| |
eating 100% CPU while trying to use blocking i/o.
ok jakemsr
|
| |
|
| |
|
|
|
|
| |
strings. suggested by Thomas Pfaff
|
|
|
|
| |
a midi device name starting with a separator
|
|
|
|
| |
from Thomas Pfaff, ok jmc@
|
|
|
|
|
| |
defined as such
from Thomas Pfaff
|
|
|
|
| |
from Thomas Pfaff
|
|
|
|
|
| |
with open(2) and write(2) syscalls.
from Thomas Pfaff, jakemsr is fine with it
|
|
|
|
| |
spotted by jasper@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
spotted by Philipp Schafft
|
| |
|
|
|
|
|
|
| |
files leave.
requested by deraadt@, ok miod@
|
|
|
|
|
|
|
| |
that don't use sys/poll.h, wont compile with gcc2. Fix this by
declaring the pollfd structure
spotted by and ok deraadt
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
explained by deraadt, ok miod, ok millert
|
| |
|
|
|
|
|
| |
the one we asked for, from Thomas Pfaff <tpfaff(at)tp76.info>
with tweaks from jmc@
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
not be used if blocking is not desirable.
|
|
|
|
|
| |
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks!
ok jmc
|
|
|
|
| |
discussed with espie@, ok jakemsr@ and millert@
|
|
|
|
|
| |
functions into private header file.
suggested by espie@
|
|
|
|
|
| |
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks!
ok jmc@
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|