Alexandre Ratchov
dafad3b44a
update with new device names
2011-11-14 08:52:48 +01:00
Alexandre Ratchov
1b0a15aba0
better parsetype routine
2011-11-11 10:41:18 +01:00
Alexandre Ratchov
96f647d64d
strncmp() can't be used to parse device type, add our own routine
2011-11-10 10:43:31 +01:00
Alexandre Ratchov
4e44c01026
tweaks from jmc
2011-11-09 09:35:18 +01:00
Alexandre Ratchov
d41324905f
re-add forgotten argument to .Xr
2011-11-08 20:13:39 +01:00
Alexandre Ratchov
c8f20fb97f
make devnum mandatory
2011-11-08 09:32:00 +01:00
Alexandre Ratchov
d0bc800ea8
unbreak alsa
2011-11-03 13:23:17 +01:00
Alexandre Ratchov
7307eeea39
s/mid/thr
2011-11-03 10:08:51 +01:00
Alexandre Ratchov
e3e99b1f4e
change mandir to prefix/share/man
2011-11-01 18:07:27 +01:00
Alexandre Ratchov
17743923b8
merge obsd man page changes
2011-11-01 18:01:52 +01:00
Alexandre Ratchov
c62616c78f
check debug_level
2011-11-01 18:01:33 +01:00
Alexandre Ratchov
1d71c4a2fa
stop using and duplicating ISSEP() macro
2011-11-01 17:30:39 +01:00
Alexandre Ratchov
33d6a705fd
factor device name parsing code
2011-11-01 16:56:37 +01:00
Alexandre Ratchov
e4ef0dc8d9
switch to type@hostname,unit/num.opt device names
2011-11-01 13:02:13 +01:00
Alexandre Ratchov
dc2884ed7d
Don't attempt to send data not available for sending yet. Analysed
...
and fixed by Remco <remco at d-compu.dyndns.org>, thanks!
2011-10-22 16:29:20 +02: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
4bbfe303b3
typo, from Remco
2011-10-14 13:06:41 +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
6e0d4f312e
s/tr/mmc
2011-10-05 14:51:05 +02:00
Alexandre Ratchov
48c6dc6585
better dprintfs
2011-10-05 14:14:20 +02:00
Alexandre Ratchov
edb571c12e
tweaks from jmc
2011-10-05 14:06:44 +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
31909d1dad
tweak comment
2011-10-05 13:12:44 +02:00
Alexandre Ratchov
979c909719
handle EINTR returned by connect()
2011-10-05 13:12:21 +02:00
Alexandre Ratchov
6313d1e2bc
check for orphaned -q def
2011-09-07 12:59:20 +02:00
Alexandre Ratchov
1fd5b878fb
allow seeking while recording, filling the file with zeros
2011-09-06 08:40:59 +02:00
Alexandre Ratchov
a8903f19f0
sync to midish license
2011-08-16 13:03:58 +02:00
Alexandre Ratchov
8a01f1f248
remove unused vars
2011-06-30 00:43:27 +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
736ea055d7
remove debug printfs
2011-06-27 11:50:54 +02:00
Alexandre Ratchov
534383ee5c
expose CPU usage, ie the time spent on calculations compared
...
to the time spend on sleeping in poll()
2011-06-27 09:10:58 +02:00
Alexandre Ratchov
e9f2f3757c
tweak
2011-06-20 22:12:50 +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
9429404049
one midicat server can export multiple midithru ports
2011-06-03 20:58:04 +02:00
Alexandre Ratchov
1b055c6da6
don't forget to send the initial clock tick
2011-06-03 20:14:07 +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
0778d29b61
factor tests for f->opt->join flag, no behaviour change
2011-06-03 18:47:34 +02:00
Alexandre Ratchov
489fe436c3
Clarify that the ratio between sample rate and the block size
...
is the MTC clock rate. Suggested by Alexey Suslikov
2011-06-03 18:20:51 +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
0101028663
update EXAMPLES to use "-joff", since "-jon" is the default
...
found by peters at schwertfisch.de, thanks
2011-06-03 11:07:16 +02:00
Alexandre Ratchov
2d6fc0ec68
close midi control ports and thruboxes only if there are no inputs
...
anymore
2011-06-02 20:48:31 +02:00
Alexandre Ratchov
4667f82af0
don't exit from the main loop if there are pending time outs.
...
Fixes midi inputs not being properly drained when they are
temporarily blocked to limit input data rate
2011-06-02 19:37:49 +02:00
Alexandre Ratchov
0602f18759
If there are no descriptors to poll, just sleep until SIGALRM
...
is posted and then update all timers restart the event loop.
Fixes throtteling while midi inputs are drained.
2011-06-02 18:08:58 +02:00
Alexandre Ratchov
c7037f95a6
tweaks from jmc
2011-05-26 16:16:47 +02:00