More informative output

This commit is contained in:
Chris Cannam
2020-09-11 17:11:03 +01:00
parent dab3e9f69b
commit 732d0ed980

View File

@@ -630,8 +630,10 @@ int main(int argc, char **argv)
if (nextFreqFrame <= countIn) { if (nextFreqFrame <= countIn) {
double s = frequencyshift * freqMapItr->second; double s = frequencyshift * freqMapItr->second;
if (debug > 0) { if (debug > 0) {
cerr << "at latency-adjusted frame " << countIn cerr << "at frame " << countIn
<< " updating frequency ratio to " << s << endl; << " (requested at " << freqMapItr->first
<< " plus latency " << ts.getLatency()
<< ") updating frequency ratio to " << s << endl;
} }
ts.setPitchScale(s); ts.setPitchScale(s);
++freqMapItr; ++freqMapItr;