diff chroma-compare-plugin/TuningDifference.h @ 19:9c5ec36c223e

Return values through plugin outputs
author Chris Cannam
date Thu, 05 Feb 2015 09:43:31 +0000
parents 2c6460fb1fcf
children
line wrap: on
line diff
--- a/chroma-compare-plugin/TuningDifference.h	Thu Feb 05 08:56:42 2015 +0000
+++ b/chroma-compare-plugin/TuningDifference.h	Thu Feb 05 09:43:31 2015 +0000
@@ -64,7 +64,7 @@
     TFeature computeFeatureFromSignal(const Signal &signal, double hz) const;
     double featureDistance(const TFeature &other, int rotation = 0) const;
     int findBestRotation(const TFeature &other) const;
-    double findFineFrequency(int coarseCents, double coarseScore);
+    std::pair<int, double> findFineFrequency(int coarseCents, double coarseScore);
 
     mutable std::map<string, int> m_outputs;
 };