Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-28 | don't consider calling sio_close() without calling sio_stop() first | Alexandre Ratchov | |
as a programming error. At any stage the program should be alble to cleanly free resources and close the device. | |||
2009-08-28 | when using aucat backend, wait for the server to drop the connection | Alexandre Ratchov | |
on sio_close() | |||
2009-08-28 | add a new AMSG_BYE, sent by the client to requst the server to | Alexandre Ratchov | |
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. | |||
2009-08-26 | handle incoming AMSG_SETVOL messages, allows the client to be notified | Alexandre Ratchov | |
of volume changes | |||
2009-08-21 | make aucat(1) expose a MIDI device to control server behaviour in | Alexandre Ratchov | |
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. | |||
2009-08-01 | honor non-blocking flag in mio_open_rmidi(), fixes programs | Alexandre Ratchov | |
eating 100% CPU while trying to use blocking i/o. ok jakemsr | |||
2009-07-27 | don't use ``return'' in sio_close() and mio_close() | Alexandre Ratchov | |
2009-07-26 | more style improvemets, from Thomas Pfaff | Alexandre Ratchov | |
2009-07-26 | use ``sizeof(string) - 1'' rather than ``strlen(string)'' on static | Alexandre Ratchov | |
strings. suggested by Thomas Pfaff | |||
2009-07-26 | remove the (bogus) special case when mio_open() is called with | Alexandre Ratchov | |
a midi device name starting with a separator | |||
2009-07-26 | rephrase description of (MIO_IN | MIO_OUT) mode | Alexandre Ratchov | |
from Thomas Pfaff, ok jmc@ | |||
2009-07-26 | Make ``static'' few functions that are prototyped as static but are not | Alexandre Ratchov | |
defined as such from Thomas Pfaff | |||
2009-07-26 | sort and space headers as per style(9) | Alexandre Ratchov | |
from Thomas Pfaff | |||
2009-07-25 | use const qualifier in libsndio, making it slightly more consistent | Alexandre Ratchov | |
with open(2) and write(2) syscalls. from Thomas Pfaff, jakemsr is fine with it | |||
2009-07-25 | add sndio.7, forgotten in last commit | Alexandre Ratchov | |
spotted by jasper@ | |||
2009-07-25 | Currently midi capable programs can control midi hardware, but | Alexandre Ratchov | |
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@ | |||
2009-05-16 | don't set mode in sio_setpar(), already done at initialization | Alexandre Ratchov | |
2009-05-16 | add a new ``hello'' message to aucat protocol useful to work on | Alexandre Ratchov | |
future aucat extentions. No functional changes. | |||
2009-05-16 | fix style to make future diffs contain functional changes only | Alexandre Ratchov | |
2009-05-16 | in aucat_getpar() and aucat_getcap(), initialize the message to send | Alexandre Ratchov | |
with AMSG_INIT(), rather than the reply we expect. | |||
2009-05-15 | cleanup forgotten calls to exit(3) | Alexandre Ratchov | |
2009-05-15 | replace s/sa/sio/, left from when libsa was renamed to libsndio | Alexandre Ratchov | |
2009-05-15 | in headers, macro definitions come first, prototypes come next | Alexandre Ratchov | |
2009-05-15 | if DEBUG is defined, use a global debug level rather | Alexandre Ratchov | |
than a per-stream debug level. No behaviour change. | |||
2009-05-15 | describe sio_getcap(), sio_pollfd() and sio_setvol() retrurn values | Alexandre Ratchov | |
spotted by Philipp Schafft | |||
2009-04-21 | no need to install includes from here anymore | Theo de Raadt | |
2009-04-21 | move src/lib/libsndio/sndio.h into src/include where other include | Alexandre Ratchov | |
files leave. requested by deraadt@, ok miod@ | |||
2009-04-13 | protypes in sndio.h make reference to struct pollfd; applications | Alexandre Ratchov | |
that don't use sys/poll.h, wont compile with gcc2. Fix this by declaring the pollfd structure spotted by and ok deraadt | |||
2009-02-26 | don't use ``hdl->filling'' flag uninitialized | Alexandre Ratchov | |
ok deraadt | |||
2009-02-25 | after the STOP message is sent, move the receiver to the RMSG state | Alexandre Ratchov | |
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 | |||
2009-02-18 | in aucat_stop(), after the STOP message was send, put the receiver | Alexandre Ratchov | |
in ``waiting state'', otherwise the ACK message will be skipped, and the other functions not expecting ACKs might be confused by the ACK. | |||
2009-02-09 | ignore evironment variables if the program is setuid or setgid | Alexandre Ratchov | |
explained by deraadt, ok miod, ok millert | |||
2009-02-04 | update the default socket paths, to reflect recent aucat changes | Alexandre Ratchov | |
2009-02-04 | explain that it's ok if we get a slightly different rate than | Alexandre Ratchov | |
the one we asked for, from Thomas Pfaff <tpfaff(at)tp76.info> with tweaks from jmc@ | |||
2009-02-04 | Programs have no direct access do the device file descriptor. So, if | Alexandre Ratchov | |
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 | |||
2009-02-03 | in server mode, create /tmp/aucat-userid/ directory with | Alexandre Ratchov | |
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 | |||
2009-01-21 | fix bugs section: clarify that sio_start() and sio_stop() should | Alexandre Ratchov | |
not be used if blocking is not desirable. | |||
2009-01-21 | explain what ``frame'' does mean | Alexandre Ratchov | |
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks! ok jmc | |||
2009-01-21 | make declarations "C" to allow c++ code to compile | Alexandre Ratchov | |
discussed with espie@, ok jakemsr@ and millert@ | |||
2009-01-17 | cleanup: remove prototypes of inexistent functions, move few private | Alexandre Ratchov | |
functions into private header file. suggested by espie@ | |||
2009-01-12 | replace s/routine/function/, as other manuals do | Alexandre Ratchov | |
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks! ok jmc@ | |||
2009-01-10 | make all private functions static | Alexandre Ratchov | |
2009-01-08 | oops, i messed up tim's patch; correction from Tim van der Molen | Jason McIntyre | |
2009-01-08 | a little macro cleanup; from Tim van der Molen | Jason McIntyre | |
2008-12-27 | when polling aucat(1) socket, don't set the POLLIN bit if we | Alexandre Ratchov | |
don't expect messages. Avoids busy loops in programs calling poll(2) on a stopped device. | |||
2008-12-27 | when using the aucat(1) backend, don't mask the POLLHUP bit | Alexandre Ratchov | |
even if the device is not started yet. This way, if the server is killed programs can notice it. | |||
2008-12-21 | remove mixer bits from the audio(4) backend of libsndio, it's not | Alexandre Ratchov | |
possible to get them right in the current state of the mixer. discussed with jakemsr | |||
2008-12-21 | fix more spelling errors and typos, | Alexandre Ratchov | |
from Thomas Pfaff <tpfaff(at)@tp76.info>, thanks | |||
2008-12-17 | stop using stderr in the library, wrap all diagnostic fprintfs | Alexandre Ratchov | |
so they are visible only when the DEBUG macro is #defined and SIO_DEBUG env. variable is set. requested by many, discussed with jakemsr | |||
2008-12-17 | tweak previous; | Jason McIntyre | |