diff BeatRootProcessor.h @ 31:b9c2f444cdaa

Fix incorrect return timestamps when run with non-zero origin time
author Chris Cannam
date Fri, 06 Dec 2013 14:38:17 +0000
parents 3a5840de4d5f
children 937432fc2898
line wrap: on
line diff
--- a/BeatRootProcessor.h	Fri Dec 06 14:31:09 2013 +0000
+++ b/BeatRootProcessor.h	Fri Dec 06 14:38:17 2013 +0000
@@ -94,10 +94,10 @@
      *  file is set (see <code>setInputFile()</code>). */
     BeatRootProcessor(float sr, AgentParameters parameters) :
         sampleRate(sr),
+        hopTime(0.010),
+        fftTime(0.04644),
         hopSize(0),
         fftSize(0),
-        hopTime(0.010),
-        fftTime(0.04644),
         agentParameters(parameters)
     {
         hopSize = lrint(sampleRate * hopTime);