Mercurial > hg > match-vamp
changeset 4:ca29b0ef78ce
* minor build stuff
author | cannam |
---|---|
date | Tue, 02 Dec 2008 13:03:44 +0000 |
parents | d57673cfb9e3 |
children | a02321c31884 |
files | MatchFeeder.cpp Matcher.cpp vamp-plugin.list |
diffstat | 3 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MatchFeeder.cpp Mon Dec 01 21:30:46 2008 +0000 +++ b/MatchFeeder.cpp Tue Dec 02 13:03:44 2008 +0000 @@ -27,6 +27,8 @@ MatchFeeder::~MatchFeeder() { + std::cerr << "MatchFeeder(" << this << ")::~MatchFeeder()" << std::endl; + delete[] imBuffer; delete[] reBuffer; while (!q1.empty()) {
--- a/Matcher.cpp Mon Dec 01 21:30:46 2008 +0000 +++ b/Matcher.cpp Tue Dec 02 13:03:44 2008 +0000 @@ -19,6 +19,8 @@ #include <iostream> +#include <cstdlib> + bool Matcher::silent = true; Matcher::Matcher(float rate, Matcher *p) @@ -119,6 +121,8 @@ { if (initialised) return; + std::cerr << "Matcher::init() - initialising" << std::endl; + initialised = true; makeFreqMap(fftSize, sampleRate); @@ -260,7 +264,7 @@ // distance[frameCount-blockSize] to its first len elements. // Same for bestPathCost. /* - std::cerr << "moving " << distYSizes[frameCount - blockSize] << " from " << frameCount - blockSize << " to " + std::cerr << "Matcher(" << this << "): moving " << distYSizes[frameCount - blockSize] << " from " << frameCount - blockSize << " to " << frameCount << ", allocating " << len << " for " << frameCount - blockSize << std::endl; */