summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/tempo.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-17 19:47:56 -0400
committerDavid Robillard <d@drobilla.net>2016-10-17 20:22:26 -0400
commit208cb967e579d9177dce92086103c50f00b45b34 (patch)
treeaf15f90bfef97c15918643f3f4e5aa5f1698dd26 /libs/ardour/ardour/tempo.h
parent94f8b7b8f2a708063529785c77d1a123ea0f0d7c (diff)
Warn about skipped MIDI events
This can occur when the MIDI readahead time is too low and events get pushed into the MidiRingBuffer after the corresponding read. In this case, skip_to() gets called (as it does before every read) and the events are silently dropped. This is a Very Bad Thing(TM), so warn about it. I am not sure which other scenarios can skip events that aren't problematic, but there's probably some. A more sophisticated detection/reporting (or maybe even dynamic reconfiguration) scheme would be nice here, but some false positive messages are at least better than silently failing to play notes and the like.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
0 files changed, 0 insertions, 0 deletions