Alexandre Ratchov
|
b1c417ab04
|
add prototypes
|
2013-11-18 17:50:04 +01: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
|
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
|
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
|
f33c7044ea
|
don't build messages at the end of sock_in(), since the socket
may be destroyed at this stage
|
2012-11-11 03:18:23 +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
|
6fa4f57d50
|
dont write past buffer end, ok armani@
|
2012-11-10 22:57:49 +01:00 |
Alexandre Ratchov
|
6b88502d9a
|
fix copyright years
|
2012-11-10 14:58:53 +01:00 |
Alexandre Ratchov
|
a225f02ed3
|
ensure ralign is in the [1:round] range
|
2012-11-07 14:59:00 +01:00 |
Alexandre Ratchov
|
a00c38b091
|
make midi_in handle input in a single shot
|
2012-11-07 11:38:49 +01:00 |
Alexandre Ratchov
|
b45b76b8e0
|
dont call sock_read() on the write path; the reader state
is SOCK_RMSG and sock_read() will be called from the poll loop
|
2012-11-07 09:54:02 +01:00 |
Alexandre Ratchov
|
a3a868da74
|
prime buffers with silence; make flow control start with zero
maxwrite
|
2012-11-07 08:48:35 +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
|
b97efa105d
|
arpa/net.h is not needed
|
2012-10-26 16:51:09 +02:00 |
Alexandre Ratchov
|
52d941c80b
|
include arpa/inet.h
|
2012-10-26 16:41:36 +02: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
|
708d668654
|
add frames vs bytes arithmetic in assert
|
2012-10-20 09:52:44 +02:00 |
Alexandre Ratchov
|
10bd2bb48a
|
panic() if read buffer overruns
|
2012-10-16 09:47:48 +02:00 |
Alexandre Ratchov
|
f29564da69
|
better xmalloc from midish
|
2012-10-06 14:18:49 +02:00 |
Alexandre Ratchov
|
ce83ee0567
|
add missing compat includes
|
2012-10-06 12:24:03 +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
|
526f2d2b92
|
upon connection copy the maxweight parameter from the opt structure
|
2012-09-04 16:54:45 +02:00 |
Alexandre Ratchov
|
f1c34efede
|
style
|
2012-09-03 10:21:12 +02:00 |
Alexandre Ratchov
|
06920b56d9
|
remove aparams_{eq,copy}, nicer log messages
|
2012-09-03 10:14:23 +02:00 |
Alexandre Ratchov
|
6ce349176e
|
add new sndiod
|
2012-09-03 00:13:30 +02:00 |