2013-12-08 22:44:43 +01:00
|
|
|
/*
|
|
|
|
* Author: Harry van Haaren 2013
|
|
|
|
* harryhaaren@gmail.com
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
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-11-23 01:14:53 +01:00
|
|
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
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-11-02 00:31:18 +01: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-12-04 15:27:47 +01:00
|
|
|
// Jack print controller out MIDI, loading etc
|
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-10-07 16:34:41 +02:00
|
|
|
#define CONTROLLERS_PREALLOC 20
|
|
|
|
|
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
|
|
|
|
|