Commit Graph

39 Commits

Author SHA1 Message Date
Alexandre Ratchov d5ee44fc8b When a sub-device is created (-s), check if a hardware
device was already created (-f) before trying to use the
default one, otherwise all sub-devices end up attached
to the default device. Noticed by peters at schwertfisch.de,
thanks!
2012-01-10 09:11:10 +01:00
Alexandre Ratchov 9916b7362c fix usage 2011-12-10 00:01:58 +01:00
Alexandre Ratchov 073a090888 move server specific bits into new sndiod daemon 2011-12-09 23:49:26 +01:00
Alexandre Ratchov b218a19c35 don't use a server flag, just check if we expose sub-devices 2011-12-02 13:46:03 +01:00
Alexandre Ratchov 37f7cba0f8 reuse midi-control code to implement midi thru boxes and remove
the old midithru implementation; less code, less bugs. As a side
effect, midi output doesn't implement running status "compression"
any more
2011-12-02 11:38:53 +01:00
Alexandre Ratchov 37baea58d8 move mmc/mtc and volume control bits from struct aproc to struct dev 2011-11-21 09:06:25 +01:00
Alexandre Ratchov 73d8f28428 always create a default device in server mode 2011-11-14 09:29:33 +01:00
Alexandre Ratchov e4ef0dc8d9 switch to type@hostname,unit/num.opt device names 2011-11-01 13:02:13 +01:00
Alexandre Ratchov 0e4543ecf5 make -aoff the default 2011-10-20 18:17:48 +02:00
Alexandre Ratchov 284343965f fix getopt duplicate options 2011-10-18 16:22:16 +02:00
Alexandre Ratchov 8c514d82b6 remove midicat 2011-10-18 00:29:58 +02:00
Alexandre Ratchov 72ac220263 more fixes from jmc 2011-10-13 13:32:32 +02:00
Alexandre Ratchov 4811aac665 sort play and record parameters confusion 2011-10-11 12:56:10 +02:00
Alexandre Ratchov 3a452a4c0d fixes from jmc 2011-10-10 14:19:33 +02:00
Alexandre Ratchov fbba1f101a autovol defaults to 1 2011-10-08 16:06:47 +02:00
Alexandre Ratchov 71980f4d34 Cleanup:
- stream definitions (-ios) now must follow devices definitions they
  are attached to (-fMn).
- the -n option is now a special "loopback" device and is thus used
  like -f, eg it must precede streams
- channel numbers (-Cc options) correspond always to channel numbers
  of the hardware.
- removed -u option (not needed anymore)
2011-10-05 13:21:01 +02:00
Alexandre Ratchov 6313d1e2bc check for orphaned -q def 2011-09-07 12:59:20 +02:00
Alexandre Ratchov d187c66343 make -u flag per-device similarly to -a and -w 2011-06-29 09:36:03 +02:00
Alexandre Ratchov 96eb11eaf9 make -a per-device, it doesn't make sense to be per-midi-port since
if one port is open, then all ports must be opened.
2011-06-20 18:17:11 +02:00
Alexandre Ratchov 007a5ce2e1 make -a apply on MIDI ports 2011-06-20 17:53:09 +02:00
Alexandre Ratchov f945cd7996 Allow device encoding to be set if -u is also used. Useful to degrade
quality to save bandwith when a remote audio device is used.
2011-06-03 19:08:15 +02:00
Alexandre Ratchov fc036bc26e Reorganize the way command line options are parsed and stored.
No behaviour change.
2011-06-03 12:05:47 +02:00
Alexandre Ratchov 02f3853786 add -w option to switch off automatic volume adjustments 2011-05-13 13:38:34 +02:00
Alexandre Ratchov a6816c6fa5 fix option handling and enable TCP in midicat
from peters at schwertfisch.de, thanks!
2011-05-10 11:49:54 +02:00
Alexandre Ratchov 8e25c4c95f include "bsd-compat.h" unconditionally 2011-05-06 14:11:18 +02:00
Alexandre Ratchov 0bba66304b simplify compat bits 2011-05-06 13:40:39 +02:00
Alexandre Ratchov b0d03532fc use sig_atomic_t in signals 2011-04-28 00:41:43 +02:00
Alexandre Ratchov 5fdf55ede7 move amsg.h on libsndio side 2011-04-28 00:25:20 +02:00
Alexandre Ratchov 0cfe52ec5d typos in comments and man pages 2011-04-18 15:45:12 +02:00
Alexandre Ratchov 3f1215502b add TCP transport 2011-04-18 12:14:27 +02:00
Alexandre Ratchov 5ad77b9a6f use "aucatN" for aucat(1) socket path and "midicatN" for midicat(1),
no need to increase entropy by inventing new names.
use AUCAT_PATH and MIDICAT_PATH macros instead of hardcoded strings
2011-04-16 14:52:25 +02:00
Alexandre Ratchov 6b391a082b make default rate a macro instead of using hardcoded 44100 2010-11-10 15:08:05 +01:00
Alexandre Ratchov 2f1ceb6662 unbreak compilation without DEBUG defined 2010-11-05 17:10:19 +01:00
Alexandre Ratchov fa5a65f0d9 cleanup modes, no behaviour change 2010-09-29 15:54:32 +02:00
Alexandre Ratchov 52a88805d0 include grp.h (linux only) in bsd-compat.h rather than in aucat.c 2010-09-17 10:36:54 +02:00
Alexandre Ratchov c7be174526 better error message if getpwnam fails 2010-09-09 08:35:23 +02:00
Alexandre Ratchov 6078ffd6b8 include grp.h, include bsd-compat.h first, since it defines _GNU_SOURCE,
used by other headers
2010-09-03 11:48:32 +02:00
Alexandre Ratchov a17607cf7a add initial alsa support from jakemsr 2010-08-19 23:00:06 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00