From 8b22d62b5581c660981c885f5af58ced06b6a287 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 5 Sep 2014 02:28:51 +0200 Subject: [PATCH] RELEASE-Build --- sauSynKlick/Makefile | 6 +++--- sauSynKlick/SynKlick.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sauSynKlick/Makefile b/sauSynKlick/Makefile index dc6c35c..0a43fb0 100644 --- a/sauSynKlick/Makefile +++ b/sauSynKlick/Makefile @@ -10,11 +10,11 @@ #XXX_H = /usr/include -#INCLUDES = -I$(XXX_H) +#INCLUDES = -I$(XXX_H) INCLUDES = LIBRARIES = -lm -lsndfile -CFLAGS = $(INCLUDES) -ggdb -DDEBUG -fPIC -#-O2 -fPIC +CFLAGS = $(INCLUDES) -O2 -fPIC +#CFLAGS = $(INCLUDES) -ggdb -DDEBUG -fPIC CXXFLAGS = $(CFLAGS) -std=gnu++11 PROGRAMS = SynKlick CC = clang diff --git a/sauSynKlick/SynKlick.cc b/sauSynKlick/SynKlick.cc index e1df326..dc2a5bf 100644 --- a/sauSynKlick/SynKlick.cc +++ b/sauSynKlick/SynKlick.cc @@ -27,7 +27,7 @@ using std::cerr; using std::max; using std::abs; -const size_t CHUNK_SIZE = 20000; //44100; ///TODO for debugging +const size_t CHUNK_SIZE = 100000; const size_t CONTEXT = 100; const size_t BUFF_SIZE = CHUNK_SIZE + 2*CONTEXT; @@ -38,7 +38,7 @@ const float CONFIRMATION_DEGREE = 0.66f; // degree of confirmation by multip const uint AVERAGE_SAMPLES = 50; // number of past samples to use for average delta const uint POS_LEEWAY = 3; // events within this timespan (samples) still count as "synchronous" -const bool VERBOSE = true; +const bool VERBOSE = false; // set to true to trace the decision process /* ==== Helpers ==== */