13
0

* 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:
Hans Baier 2009-02-13 08:28:54 +00:00
parent 328691c9d1
commit bb1aa327f8

View File

@ -114,7 +114,12 @@ 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;