Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594072
Collapse All | Expand All

(-)klick-0.12.2/src/metronome_map.hh.old (-1 / +1 lines)
Lines 48-54 Link Here
48
    virtual void timebase_callback(position_t *);
48
    virtual void timebase_callback(position_t *);
49
49
50
  private:
50
  private:
51
    static double const TICKS_PER_BEAT = 1920.0;
51
    static double const TICKS_PER_BEAT;
52
52
53
    // transport position
53
    // transport position
54
    nframes_t _current;
54
    nframes_t _current;
(-)klick-0.12.2/src/metronome_map.cc.old (+2 lines)
Lines 195-197 Link Here
195
        p->beats_per_minute = _pos.map_entry().tempi[n];
195
        p->beats_per_minute = _pos.map_entry().tempi[n];
196
    }
196
    }
197
}
197
}
198
199
double const MetronomeMap::TICKS_PER_BEAT = 1920.0;
(-)klick-0.12.2/src/metronome_simple.hh.old (-3 / +3 lines)
Lines 58-66 Link Here
58
58
59
  private:
59
  private:
60
60
61
    static int const MAX_TAPS = 5;
61
    static int const MAX_TAPS;
62
    static float const MAX_TAP_AGE = 3.0;
62
    static float const MAX_TAP_AGE;
63
    static float const TAP_DIFF = 0.2;
63
    static float const TAP_DIFF;
64
64
65
    float _tempo;
65
    float _tempo;
66
    float _tempo_increment, _tempo_start, _tempo_limit;
66
    float _tempo_increment, _tempo_start, _tempo_limit;
(-)klick-0.12.2/src/metronome_simple.cc.old (+4 lines)
Lines 217-219 Link Here
217
217
218
    _frame += nframes;
218
    _frame += nframes;
219
}
219
}
220
221
int const MetronomeSimple::MAX_TAPS = 5;
222
float const MetronomeSimple::MAX_TAP_AGE = 3.0;
223
float const MetronomeSimple::TAP_DIFF = 0.2;

Return to bug 594072