diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-16 15:13:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-16 15:13:12 +0100 |
commit | c1910351a5379553da6d062fe40f3d8da90910f4 (patch) | |
tree | 31ce3748c748d4fdb59a913f76711db84a1a735f /libs/audiographer | |
parent | 240daf95f5377464d775a7a49e7981310f22204b (diff) |
Revert "proper debug prints for Analyser"
This reverts commit 9a281963e143d1191d701f6f248a956bdaf9200d.
audiographer cannot use symbols from libardour (cyclic dependency)
(only headers only are ok)
"DebugBits ExportAnalysis" symbol break windows and unit-test builds.
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/src/general/analyser.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/audiographer/src/general/analyser.cc b/libs/audiographer/src/general/analyser.cc index b6a3e1bbde..459cd6a506 100644 --- a/libs/audiographer/src/general/analyser.cc +++ b/libs/audiographer/src/general/analyser.cc @@ -18,8 +18,6 @@ #include "audiographer/general/analyser.h" #include "pbd/fastlog.h" -#include "pbd/compose.h" -#include "ardour/debug.h" using namespace AudioGrapher; @@ -34,11 +32,9 @@ Analyser::Analyser (float sample_rate, unsigned int channels, framecnt_t bufsize , _n_samples (n_samples) , _pos (0) { - DEBUG_TRACE (PBD::DEBUG::ExportAnalysis, string_compose ("Analyser r:%1 c:%2 f:%3 d:%4\n", sample_rate, channels, bufsize, n_samples)); - + //printf ("NEW ANALYSER %p r:%.1f c:%d f:%ld l%ld\n", this, sample_rate, channels, bufsize, n_samples); assert (bufsize % channels == 0); assert (bufsize > 1); - if (channels > 0 && channels <= 2) { using namespace Vamp::HostExt; PluginLoader* loader (PluginLoader::getInstance ()); @@ -241,7 +237,7 @@ Analyser::process (ProcessContext<float> const & ctx) ARDOUR::ExportAnalysisPtr Analyser::result () { - DEBUG_TRACE (PBD::DEBUG::ExportAnalysis, string_compose ("Processed %1 / %2 samples\n", _pos, _n_samples)); + //printf ("PROCESSED %ld / %ld samples\n", _pos, _n_samples); if (_pos == 0 || _pos > _n_samples + 1) { return ARDOUR::ExportAnalysisPtr (); } |