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

@ -10,11 +10,11 @@
#XXX_H = /usr/include #XXX_H = /usr/include
#INCLUDES = -I$(XXX_H) #INCLUDES = -I$(XXX_H)
INCLUDES = INCLUDES =
LIBRARIES = -lm -lsndfile LIBRARIES = -lm -lsndfile
CFLAGS = $(INCLUDES) -ggdb -DDEBUG -fPIC CFLAGS = $(INCLUDES) -O2 -fPIC
#-O2 -fPIC #CFLAGS = $(INCLUDES) -ggdb -DDEBUG -fPIC
CXXFLAGS = $(CFLAGS) -std=gnu++11 CXXFLAGS = $(CFLAGS) -std=gnu++11
PROGRAMS = SynKlick PROGRAMS = SynKlick
CC = clang CC = clang

View file

@ -27,7 +27,7 @@ using std::cerr;
using std::max; using std::max;
using std::abs; 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 CONTEXT = 100;
const size_t BUFF_SIZE = CHUNK_SIZE + 2*CONTEXT; 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 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 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 ==== */ /* ==== Helpers ==== */