explain midi starvation, issue #6170
authorRobin Gareus <robin@gareus.org>
Thu, 12 Mar 2015 13:16:55 +0000 (14:16 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 12 Mar 2015 14:22:18 +0000 (15:22 +0100)
commita16dd7c071e71f90a3c47671262ec984c097c045
tree5fe104bf672e0693bcc45f91cdc5d7f3ef00121e
parent831f2989aca683aedda032061a74727707f0b871
explain midi starvation, issue #6170

this is not a fix yet, just some comments and
code cleanup done while reading/investigating:

* limit reads to available write-space
* skip inactive tracks
* handle potential unsigned + negative value.
libs/ardour/midi_diskstream.cc