rework raw-midi drain strategy (workaround for sync devices)

This commit is contained in:
Robin Gareus 2014-06-19 19:42:19 +02:00
parent 157161e482
commit bc67e47048
3 changed files with 30 additions and 6 deletions

View file

@ -114,7 +114,7 @@ private:
}
bool prepare_buffered_event(const uint64_t time) {
const bool result = !_unbuffered_bytes;
const bool result = _unbuffered_bytes == 0;
if (result) {
_event.prepare(time, _total_bytes);
}