Mercurial > hg > qm-dsp
diff dsp/tempotracking/TempoTrackV2.cpp @ 79:054c384d860d
* Solaris build fixes
author | cannam |
---|---|
date | Mon, 14 Sep 2009 13:01:44 +0000 |
parents | c3cdb404f807 |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/tempotracking/TempoTrackV2.cpp Thu Jun 25 13:35:34 2009 +0000 +++ b/dsp/tempotracking/TempoTrackV2.cpp Mon Sep 14 13:01:44 2009 +0000 @@ -87,8 +87,9 @@ void -TempoTrackV2::calculateBeatPeriod(const d_vec_t &df, d_vec_t &beat_period, - d_vec_t &tempi) +TempoTrackV2::calculateBeatPeriod(const vector<double> &df, + vector<double> &beat_period, + vector<double> &tempi) { // to follow matlab.. split into 512 sample frames with a 128 hop size // calculate the acf, @@ -392,8 +393,9 @@ } void -TempoTrackV2::calculateBeats(const d_vec_t &df, const d_vec_t &beat_period, - d_vec_t &beats) +TempoTrackV2::calculateBeats(const vector<double> &df, + const vector<double> &beat_period, + vector<double> &beats) { if (df.empty() || beat_period.empty()) return;