2013-05-16 02:38:11 +02:00
|
|
|
|
|
|
|
#ifndef LUPPP_CONFIG_H
|
|
|
|
#define LUPPP_CONFIG_H
|
|
|
|
|
2013-09-14 02:20:33 +02:00
|
|
|
|
2013-09-11 15:19:38 +02:00
|
|
|
/// PROGAM WIDE DEFINES
|
|
|
|
#define NAME "Luppp"
|
|
|
|
|
2013-09-11 13:57:31 +02:00
|
|
|
|
2013-09-21 02:37:46 +02:00
|
|
|
|
2013-09-14 02:20:33 +02:00
|
|
|
/// DEBUG
|
2013-08-26 17:34:51 +02:00
|
|
|
// Track operations
|
2013-09-21 02:37:46 +02:00
|
|
|
//#define DEBUG_TRACKS 1
|
2013-08-26 17:34:51 +02:00
|
|
|
|
2013-08-22 16:00:57 +02:00
|
|
|
// Clip selection / queueing
|
2013-09-23 16:23:48 +02:00
|
|
|
#define DEBUG_CLIP 1
|
2013-08-26 17:34:51 +02:00
|
|
|
|
2013-08-22 16:00:57 +02:00
|
|
|
// Buffer loading / resizing
|
2013-09-17 12:00:12 +02:00
|
|
|
//#define DEBUG_BUFFER 1
|
2013-08-22 15:36:56 +02:00
|
|
|
|
2013-08-27 01:01:51 +02:00
|
|
|
// Logic : Warning NON RT!
|
2013-09-21 02:37:46 +02:00
|
|
|
//#define DEBUG_LOGIC 1
|
2013-08-27 01:01:51 +02:00
|
|
|
|
2013-09-06 01:28:11 +02:00
|
|
|
// State save / load
|
2013-09-21 02:37:46 +02:00
|
|
|
//#define DEBUG_STATE 1
|
2013-09-04 23:32:46 +02:00
|
|
|
|
2013-09-18 12:46:25 +02:00
|
|
|
// Jack print controller out MIDI
|
2013-09-21 02:37:46 +02:00
|
|
|
//#define DEBUG_MIDI 1
|
|
|
|
|
2013-09-11 13:57:31 +02:00
|
|
|
|
2013-09-14 02:20:33 +02:00
|
|
|
/// GENERAL
|
2013-05-16 02:38:11 +02:00
|
|
|
#define NTRACKS 8
|
2013-07-27 20:06:28 +02:00
|
|
|
#define NSCENES 10
|
2013-07-27 19:24:04 +02:00
|
|
|
#define MAX_BUFFER_SIZE 1024
|
2013-09-21 02:37:46 +02:00
|
|
|
|
2013-08-22 16:00:57 +02:00
|
|
|
// nsamples remaining during recording before Looper requests larger buffer
|
2013-07-27 20:06:28 +02:00
|
|
|
#define LOOPER_SAMPLES_BEFORE_REQUEST 44100
|
2013-09-17 14:11:11 +02:00
|
|
|
#define LOOPER_SAMPLES_UPDATE_SIZE 44100
|
2013-07-27 20:06:28 +02:00
|
|
|
|
2013-09-23 13:21:33 +02:00
|
|
|
#define LUPPP_RETURN_OK 0
|
|
|
|
#define LUPPP_RETURN_WARNING 1
|
|
|
|
#define LUPPP_RETURN_ERROR 2
|
2013-09-11 15:19:38 +02:00
|
|
|
|
|
|
|
|
2013-09-16 11:17:27 +02:00
|
|
|
/// debug.hxx for printing convienience
|
|
|
|
#include "debug.hxx"
|
2013-09-14 02:20:33 +02:00
|
|
|
|
|
|
|
|
2013-05-16 02:38:11 +02:00
|
|
|
#endif // LUPPP_CONFIG_H
|
|
|
|
|