summaryrefslogtreecommitdiff
path: root/lib/libsndio/sio_open.3
AgeCommit message (Collapse)Author
2009-12-30explain what sio_close() drains play buffers as if sio_close() wasAlexandre Ratchov
called. Since sio_onmove() callback doesn't return negative deltas anymore, slightly simplify related paragraphs. siggested by espie@, ok jakemsr@
2009-07-25use const qualifier in libsndio, making it slightly more consistentAlexandre Ratchov
with open(2) and write(2) syscalls. from Thomas Pfaff, jakemsr is fine with it
2009-07-25Currently midi capable programs can control midi hardware, butAlexandre 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-15describe sio_getcap(), sio_pollfd() and sio_setvol() retrurn valuesAlexandre Ratchov
spotted by Philipp Schafft
2009-02-04update the default socket paths, to reflect recent aucat changesAlexandre Ratchov
2009-02-04explain that it's ok if we get a slightly different rate thanAlexandre Ratchov
the one we asked for, from Thomas Pfaff <tpfaff(at)tp76.info> with tweaks from jmc@
2009-01-21fix bugs section: clarify that sio_start() and sio_stop() shouldAlexandre Ratchov
not be used if blocking is not desirable.
2009-01-21explain what ``frame'' does meanAlexandre Ratchov
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks! ok jmc
2009-01-12replace s/routine/function/, as other manuals doAlexandre Ratchov
from Thomas Pfaff <tpfaff(at)tp76.info>, thanks! ok jmc@
2009-01-08oops, i messed up tim's patch; correction from Tim van der MolenJason McIntyre
2009-01-08a little macro cleanup; from Tim van der MolenJason McIntyre
2008-12-17stop using stderr in the library, wrap all diagnostic fprintfsAlexandre 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-17tweak previous;Jason McIntyre
2008-12-17add a writable ``appbufsz'' field to the sa_par structure, containingAlexandre Ratchov
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
2008-11-17occures -> occurs;Jason McIntyre
2008-11-16document that sio_revents() can return POLLHUPAlexandre Ratchov
2008-11-11tweak previous;Jason McIntyre
2008-11-11expose a volume knob in the sndio API: add sio_setvol(3) andAlexandre Ratchov
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
2008-11-09typos; ok ratchov@ jmc@Christian Weisgerber
2008-11-07expose the block size in the sndio API by making par->round writableAlexandre Ratchov
and thus remove the ugly rate <-> block-size table from sio_setpar(3). Handle the block size negociation in aucat(1), since it has few constrains the code is overally simpler. ok jakemsr@, major crank suggested by deraadt@
2008-10-29document LIBSIO_DEBUGTodd T. Fries
ok ratchov@
2008-10-27rename libsa to libsndioAlexandre Ratchov
requested by many, "just go for it" deraadt@