Commit Graph

143 Commits

Author SHA1 Message Date
Alexandre Ratchov 4b820e4de0 after every cycle, check if this was the last cycle in which case the
device may be closed and shouldn't be used
2014-03-17 18:38:57 +01:00
Alexandre Ratchov 0594488a66 typo 2014-03-17 18:13:59 +01:00
Alexandre Ratchov 0c70f95bd5 unbreak monitoring mode (was 1 block off) 2014-03-17 18:13:11 +01:00
Alexandre Ratchov 559d953ef6 backout latest 2014-03-17 17:44:47 +01:00
Alexandre Ratchov d00caaaf96 disable playing and monitoring at the same time and append
slots using MODE_MON at the end of the slot list, so that
data to monitor is produced (by other slots) before the
monitoring slot is consuming it
2014-03-17 09:57:41 +01:00
Alexandre Ratchov 5543797422 log the correct file state string 2014-03-07 17:35:05 +01:00
Alexandre Ratchov af546d3a0f remove unused "delta" argument from onmove callbacks 2014-03-07 11:21:15 +01:00
Alexandre Ratchov 1049e3fa71 remove unused mmc start/stop/relocate call-backs as they don't
make sense for sockets
2014-03-07 11:16:26 +01:00
Alexandre Ratchov 55309494c6 unused include 2014-03-06 19:21:30 +01:00
Alexandre Ratchov aa1877d6ef remove unused "autostart" feature 2014-03-05 21:22:05 +01:00
Alexandre Ratchov d536b0972d please gcc 2014-03-05 21:14:57 +01:00
Alexandre Ratchov 2c1feaa186 add missing proto 2014-03-05 21:12:35 +01:00
Alexandre Ratchov 946186b6e5 remove slot_onmove 2014-03-05 21:11:57 +01:00
Alexandre Ratchov e140c92610 remove comment 2014-03-05 21:09:31 +01:00
Alexandre Ratchov f59de2770d check if writable preparing a DATA packet 2014-03-05 20:09:34 +01:00
Alexandre Ratchov 25e29a8cf2 remove unused attr 2014-03-05 19:52:21 +01:00
Alexandre Ratchov 8914029a2f remove autostart attribute 2014-03-05 09:16:57 +01:00
Alexandre Ratchov 0d773f998a set attach-time delta 2014-02-22 17:22:42 +01:00
Alexandre Ratchov 9c47745d49 remove sqrtone bits 2014-02-19 17:31:16 +01:00
Alexandre Ratchov 556d5f075b dont use rec buffers when in the SLOT_STOP state 2014-02-17 10:54:16 +01:00
Alexandre Ratchov de206b94f5 hide debug printfs 2014-02-17 10:32:38 +01:00
Alexandre Ratchov 54f97478bd dont drain rec direction 2014-02-17 10:29:34 +01:00
Alexandre Ratchov 32d0426047 run play and rec cycles together: simpler and more robust 2014-02-17 10:21:35 +01:00
Alexandre Ratchov 236d573f93 copy the right number of channels during join/expand 2014-02-08 16:00:54 +01:00
Alexandre Ratchov 6f415698f8 remove debug bits: dont pas unused channels 2014-02-08 09:47:44 +01:00
Alexandre Ratchov fa0cd74200 use the propoper integer size with AMSG_ISSET 2014-02-08 09:46:13 +01:00
Alexandre Ratchov 14c0ab970a drop blocks and insert silence in the socket tx/rx code path 2013-12-31 13:14:01 +01:00
Alexandre Ratchov 65c99cf7c3 round buffer size to nearest possible value 2013-12-31 13:13:04 +01: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 b1c417ab04 add prototypes 2013-11-18 17:50:04 +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 0f2025bd71 Initialize client rate and channel ranges. Fixes crashes when the
client doesn't set the rate and/or channel ranges. Problem reported
and analyzed by Dimitri Sokolyuk <sokolyuk at gmail.com>. Thanks!
2013-05-09 16:40:16 +02:00
Alexandre Ratchov 343af5e469 use stddef.h rather than sys/types 2013-05-09 15:28:50 +02:00
Alexandre Ratchov 48fbb54c6a initialize slot rate 2013-05-05 18:19:51 +02:00
Alexandre Ratchov 280f58c39a don't warn on ECONNABORTED 2013-03-13 09:35:21 +01:00
Alexandre Ratchov 141833dae9 enc/dec buffer size is one stream block, not one device block 2013-02-26 12:18:41 +01:00
Alexandre Ratchov ffe27f434f add watchdog timeout for bogus devices 2013-01-05 23:21:36 +01:00
Alexandre Ratchov 55c6148e0b don't call revents on zombified files 2013-01-05 16:21:48 +01:00
Alexandre Ratchov 1301c52ca1 readjust midi flow control after consuming input data 2012-12-20 17:15:00 +01:00
Alexandre Ratchov 68ae9199f6 simple phrasing, from jmc 2012-12-07 09:02:49 +01:00
Alexandre Ratchov eae4dde1d8 don't include defs.h where not needed 2012-12-07 09:00:45 +01:00
Alexandre Ratchov a17e696708 move log_level to utils.c 2012-12-06 15:35:17 +01:00
Alexandre Ratchov 9e83398293 set port = NULL for new connctions, fixes crashes
reported by brad
2012-12-06 09:12:00 +01:00
Alexandre Ratchov eff8e25982 remove misleading XXXs and TODOs 2012-12-01 13:13:57 +01:00
Alexandre Ratchov b3f82753f8 parse mode strings strictly 2012-12-01 13:07:01 +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