waveblender/settings.h

19 lines
316 B
C
Raw Normal View History

2020-04-13 11:11:17 +02:00
#ifndef SETTINGS_H_INCLUDED
#define SETTINGS_H_INCLUDED
#include <stdint.h>
#include "pot.h"
2020-04-23 22:19:22 +02:00
#define MAX_PATTERN_LEN 64
#define MAX_TRACKS 8
2020-04-13 11:11:17 +02:00
struct settings {
int levels[NUM_POTS];
#define master_vol levels[2]
int bpm;
int sequencer_on;
2020-04-23 22:19:22 +02:00
int pattern_len;
2020-04-13 11:11:17 +02:00
};
extern struct settings Settings;
#endif