summaryrefslogtreecommitdiffstats
path: root/src/control.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-07-07 01:09:12 +0300
committergramanas <anastasis.gramm2@gmail.com>2023-07-07 01:09:12 +0300
commitc8cd7f9298de876f2046fddd2e322a63c421a505 (patch)
tree1b764fed928592f8f3465e9ef28552b451efad8a /src/control.h
parentf170fb058a07175e6e753f2a6d20283dc7200a88 (diff)
downloadsynth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.tar.gz
synth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.tar.bz2
synth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.zip
suppa
Diffstat (limited to 'src/control.h')
-rw-r--r--src/control.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/control.h b/src/control.h
index 8eee97b..45e87ed 100644
--- a/src/control.h
+++ b/src/control.h
@@ -29,18 +29,6 @@ typedef struct cc_t {
} cc_t;
#ifndef CC
-#define CC2(NAME, MIN, MAX, STEP, DEF) \
- (cc_t) { \
- .name = NAME, \
- .midi_cc = -1, \
- .min = MIN, \
- .max = MAX, \
- .step = STEP, \
- .def = DEF, \
- .value = DEF, \
- .mod = 0, \
- .target = DEF \
- };
#define CC(SYNTH, NAME, MIN, MAX, STEP, DEF) \
strcpy(SYNTH.name, NAME); \
SYNTH.midi_cc = -1; \