Commit Graph

21 Commits

Author SHA1 Message Date
Alexandre Ratchov 16fa47c430 Upon "master volume change" message, send feedback to other clients
only. Fixes the master volume slider stuttering in MIDI programs. Found
by armani@
2012-09-26 00:08:55 +02:00
Alexandre Ratchov a268087ed6 sync to openbsd (s/fprintf/errx, usage, etc) 2012-08-30 10:04:20 +02:00
Alexandre Ratchov 9cc45e62e2 dont allow duplicate mixer knob names 2012-05-23 21:15:09 +02:00
Alexandre Ratchov 1247c187a7 s/unsigned/unsigned int/g, requested by deraadt 2012-04-11 09:21:29 +02:00
Alexandre Ratchov 9f12e52145 Fix memory leak in the error handling code path of failed device
creation. From jsg@
2012-04-04 13:33:32 +02:00
Alexandre Ratchov 2b23e80702 add a master volume knob 2012-03-23 14:32:29 +01:00
Alexandre Ratchov 47288b2d38 switch defaults to 48kHz, 960 frame/block, 8 blocks 2012-03-22 09:32:51 +01:00
Alexandre Ratchov cfdd9671b8 remove unused variables, from Michael W. Bombardieri 2012-01-14 14:14:54 +01:00
Alexandre Ratchov de7dc61de4 hide "device disappeared" messages unless -d is used 2012-01-10 09:11:31 +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 a34a843352 prefix device specific messages with the device name.
Mark the device as DEV_CLOSE before closing streams, otherwise
a stream may try to call dev_close() a second time (dev_close() is
in the dev_unref() code path)
2011-11-16 22:31:25 +01:00
Alexandre Ratchov 7307eeea39 s/mid/thr 2011-11-03 10:08:51 +01:00
Alexandre Ratchov c62616c78f check debug_level 2011-11-01 18:01: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 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 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 02f3853786 add -w option to switch off automatic volume adjustments 2011-05-13 13:38:34 +02:00
Alexandre Ratchov fa5a65f0d9 cleanup modes, no behaviour change 2010-09-29 15:54:32 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00