* MIDIClock_Slave: Fix for devices that always send MIDI clock (not just between start/stop)
git-svn-id: svn://localhost/ardour2/branches/3.0@4542 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
328691c9d1
commit
bb1aa327f8
@ -115,6 +115,11 @@ MIDIClock_Slave::calculate_filter_coefficients()
|
||||
void
|
||||
MIDIClock_Slave::update_midi_clock (Parser& parser, nframes_t timestamp)
|
||||
{
|
||||
// some pieces of hardware send MIDI Clock all the time
|
||||
if ( (!_starting) && (!_started) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// the number of midi clock messages (zero-based)
|
||||
static long midi_clock_count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user