diff plugins/BeatDetect.h @ 6:d00c1bad7332

* Make BeatDetect ask for its input in the frequency domain -- it can be a bit faster if the host does FFT using e.g. FFTW instead of our rather slower implementation, and also this means we don't have to worry about handling non-power-of-two FFT sizes. * Updates to copyright notes &c
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 15 May 2006 12:07:44 +0000
parents 991d0fe8bb27
children 99dadc93042e
line wrap: on
line diff
--- a/plugins/BeatDetect.h	Fri Apr 14 09:38:09 2006 +0000
+++ b/plugins/BeatDetect.h	Mon May 15 12:07:44 2006 +0000
@@ -23,7 +23,7 @@
     bool initialise(size_t channels, size_t stepSize, size_t blockSize);
     void reset();
 
-    InputDomain getInputDomain() const { return TimeDomain; }
+    InputDomain getInputDomain() const { return FrequencyDomain; }
 
     std::string getName() const;
     std::string getDescription() const;