Commit Graph

35 Commits

Author SHA1 Message Date
Alexandre Ratchov 22a64d1845 Many typos in comments. From Michael W. Bombardieri. Thanks. 2017-01-03 08:08:17 +01:00
Alexandre Ratchov e22e6a1b26 fix trailing spaces 2016-01-08 17:24:48 +01:00
Alexandre Ratchov a04c34288e define port_log() if no -DDEBUG is defined 2015-11-25 20:54:22 +01:00
Alexandre Ratchov c8a50a21ea add port numbers 2015-11-25 20:49:09 +01:00
Alexandre Ratchov 8bb88f248f if no -f or -q are used, attach rsnd/[0-3] and rmidi/[0-7] 2015-10-20 15:25:54 +02:00
Alexandre Ratchov 1c496e9eab remove forgotten debug bits 2013-12-10 20:02:10 +01:00
Alexandre Ratchov 5c5a7280c2 use 0x7F as dev numer in sysex 2013-12-10 20:00:36 +01:00
Alexandre Ratchov 075b3da909 fix condition to check if a midi port is referenced 2013-09-28 20:44:50 +02:00
Alexandre Ratchov 5f8c1c9420 remove unused bits 2013-09-14 11:36:38 +02:00
Alexandre Ratchov edb79c93bc use -q options order as midi/N order 2013-05-12 06:52:10 +02:00
Alexandre Ratchov 1129bb8a7b Fix a typo in the condition to check if a midi port is referenced,
causing the port to be closed prematurely
2013-05-09 17:12:13 +02:00
Alexandre Ratchov 1301c52ca1 readjust midi flow control after consuming input data 2012-12-20 17:15:00 +01:00
Alexandre Ratchov eff8e25982 remove misleading XXXs and TODOs 2012-12-01 13:13:57 +01:00
Alexandre Ratchov 7a76f322eb drain midi port output buffer before closing it ensuring the last
few bytes are not lost
2012-11-30 23:27:36 +01:00
Alexandre Ratchov 0057424c2b use the hold flag for midi ports as well 2012-11-30 22:02:48 +01:00
Alexandre Ratchov 49190bbba1 For MIDI ports, use the same open/close logic as for audio devices:
drop clients using it when the port is closed (eg. umidi disconnected)
and try to reopen it whenever a new client connects.
2012-11-30 21:51:46 +01:00
Alexandre Ratchov 6cb370c626 fix midithru subscriptions 2012-11-29 18:56:59 +01:00
Alexandre Ratchov 832a0a5a1f add/fix comments 2012-11-11 17:46:21 +01:00
Alexandre Ratchov dc522e703f cleanup debug traces 2012-11-11 01:46:38 +01:00
Alexandre Ratchov 40cf11d689 simplify xmalloc & friends 2012-11-11 00:47:00 +01:00
Alexandre Ratchov b55ceed719 better debug traces 2012-11-10 22:58:47 +01:00
Alexandre Ratchov 6b88502d9a fix copyright years 2012-11-10 14:58:53 +01:00
Alexandre Ratchov a00c38b091 make midi_in handle input in a single shot 2012-11-07 11:38:49 +01:00
Alexandre Ratchov fffd1b2ad5 use flow control instead of throtteling 2012-11-04 23:07:45 +01:00
Alexandre Ratchov 5142109f22 make file i/o able to cross fifo bundary 2012-11-03 17:30:30 +01:00
Alexandre Ratchov 5fddbed369 make abuf structure use bytes 2012-11-02 19:05:29 +01:00
Alexandre Ratchov f2c1c70165 restart xfers when we get more tickets 2012-11-02 17:26:10 +01:00
Alexandre Ratchov fc38a92505 miofile -> port_mio 2012-11-02 15:58:34 +01:00
Alexandre Ratchov ab4a96fb39 fix signedness warnings 2012-10-24 14:53:37 +02:00
Alexandre Ratchov ea0d66a62d add explicit flow control in the protocol and use it for both midi and audio 2012-10-24 12:45:13 +02:00
Alexandre Ratchov 3edbce0c18 fix memory leaks 2012-10-15 18:43:34 +02:00
Alexandre Ratchov f29564da69 better xmalloc from midish 2012-10-06 14:18:49 +02:00
Alexandre Ratchov 7709b5d017 style 2012-10-05 14:24:38 +02:00
Alexandre Ratchov 832cb8bbe7 Fix midi output "ownership". Check if clockticks are out of bounds to
detect bogus libsndio backends. Use a midithru for device control.
2012-09-26 00:07:28 +02:00
Alexandre Ratchov 6ce349176e add new sndiod 2012-09-03 00:13:30 +02:00