RELEASE-Build

This commit is contained in:
Fischlurch 2014-09-05 02:28:51 +02:00
parent 8cd333bba7
commit 8b22d62b55
2 changed files with 5 additions and 5 deletions

View file

@ -13,8 +13,8 @@
#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

View file

@ -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 ==== */