diff BeatRootProcessor.h @ 8:f04f87b5e643

Add agent list class, and continue plodding through
author Chris Cannam
date Fri, 30 Sep 2011 11:37:25 +0100
parents 02d388f98c23
children 4f6626f9ffac
line wrap: on
line diff
--- a/BeatRootProcessor.h	Tue Sep 27 19:05:27 2011 +0100
+++ b/BeatRootProcessor.h	Fri Sep 30 11:37:25 2011 +0100
@@ -128,7 +128,8 @@
 
     /** Constructor: note that streams are not opened until the input
      *  file is set (see <code>setInputFile()</code>). */
-    BeatRootProcessor() {
+    BeatRootProcessor(float sr) :
+        sampleRate(sr) {
         frameRMS = 0;
         ltAverage = 0;
         frameCount = 0;