summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/dev.c
AgeCommit message (Expand)Author
2011-12-02reuse midi-control code to implement midi thru boxes and removeAlexandre Ratchov
2011-12-02initialize device reference counter, unbreaks -aoffAlexandre Ratchov
2011-11-20Move mmc/mtc and volume control bits from struct aproc to structAlexandre Ratchov
2011-11-16mark the device as closed before closing streams attached to it.Alexandre Ratchov
2011-11-16prefix device-specific messages by the device name, since weAlexandre Ratchov
2011-11-15Add a "device number" component in sndio(7) device names, allowing aAlexandre Ratchov
2011-10-12Simplify and improve the way options are parsed and remove ~300 linesAlexandre Ratchov
2011-06-20Make -aoff option apply to MIDI ports (-q) as well, ensuring the deviceAlexandre Ratchov
2011-05-26add a new -w flag to control whether master volume is automaticallyAlexandre Ratchov
2010-10-21use MODE_xxx and XRUN_xxx macros everywhere, and zap correspondingAlexandre Ratchov
2010-07-31remove forgotten debug messageAlexandre Ratchov
2010-07-06Handle all streams the same way because there's no actualAlexandre Ratchov
2010-06-29explicitely initialize members of struct dev in dev_open()Jacob Meuser
2010-06-25don't attempt to drain devices after they are destroyed, whichAlexandre Ratchov
2010-06-05in dev_close(), first terminate streams recording from the hardware,Alexandre Ratchov
2010-06-05don't prime server buffers, because it's ugly and conceptuallyAlexandre Ratchov
2010-06-04Allow the audio device to be opened only while it's actually used.Alexandre Ratchov
2010-05-08prime play buffers as soon as the device is opened, otherwise aAlexandre Ratchov
2010-05-08Fix sign in dev_getpos(). Indeed, positive device playback latencyAlexandre Ratchov
2010-05-08don't take into account recording latency in dev_getpos(), sinceAlexandre Ratchov
2010-05-07Since aucat uses libsndio, play and rec clocks are the same, soAlexandre Ratchov
2010-05-04if the ``device'' is in loopback mode (ie no audio device), thenAlexandre Ratchov
2010-05-02Clean up device handling code to clarify different initialization phasesAlexandre Ratchov
2010-05-02Don't systematically fill with silence the mixer output. ThisAlexandre Ratchov
2010-04-24rename ibuflist/obuflist -> ins/outs to cut long linesAlexandre Ratchov
2010-04-21adds the necessary bits to join channels (ex stereo->mono) orAlexandre Ratchov
2010-04-17Allow the mixer to handle inputs with channel ranges outsideAlexandre Ratchov
2010-04-06aucat (server):Alexandre Ratchov
2010-04-03backout last change, committed by mistake, sorry...Alexandre Ratchov
2010-04-03doc fixes from jmcAlexandre Ratchov
2010-01-16when closing the device, delete its MIDI end, if it has no writers.Alexandre Ratchov
2010-01-13Rename s/safile/siofile/g, missed when libsa was renamed toAlexandre Ratchov
2010-01-12When attaching a new stream, if the "extra" latency is zero, thenAlexandre Ratchov
2010-01-11When resuming from suspend, prime play buffers with silence,Alexandre Ratchov
2010-01-10Add traces to help tracking subtle timing bugs often causingAlexandre Ratchov
2010-01-05Make the way .wav files are handled closer to the way sockets areAlexandre Ratchov
2009-11-08use the same algorithm to attach play-only, record-only andAlexandre Ratchov
2009-11-03Allow any program using aucat to act as MMC slave and MTC masterAlexandre Ratchov
2009-10-27set the THRU_AUTOQUIT flag only for ``thru'' devicesAlexandre Ratchov
2009-10-10make dev_done() common to audio and MIDI, and drop dev_thrudone()Alexandre Ratchov
2009-10-10use dev_done() for loopback devices too and remove dev_loopdone()Alexandre Ratchov
2009-10-10We don't need independent file reader and writer anymore. So,Alexandre Ratchov
2009-10-09Make abuf structure smaller:Alexandre Ratchov
2009-09-27remove all debug tracesAlexandre Ratchov
2009-08-21make aucat(1) expose a MIDI device to control server behaviour inAlexandre Ratchov
2009-08-19organize midi code like audio code, no functional changeAlexandre Ratchov
2009-07-25fix comments, remove no longer needed declaration, reorder includesAlexandre Ratchov
2009-02-06move error messages reported to user into main()Alexandre Ratchov
2009-01-23spacing + typo fix from Matt Jibson <matt.jibson(at)gmail.com>Alexandre Ratchov
2009-01-10add "loopback" mode in which input is connected to the output.Alexandre Ratchov