We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09c2e6b commit 6fc4ff5Copy full SHA for 6fc4ff5
1 file changed
Source/PatchProgram.cpp
@@ -15,14 +15,14 @@ PatchProcessor* getInitialisingPatchProcessor(){
15
}
16
17
void doSetPatchParameter(uint8_t id, int16_t value){
18
- ProgramVector vec = getProgramVector();
+ ProgramVector* vec = getProgramVector();
19
if(vec->checksum >= PROGRAM_VECTOR_CHECKSUM_V12 &&
20
vec->setPatchParameter != NULL && vec->parameters[id] != value)
21
vec->setPatchParameter(id, value);
22
23
24
void doSetButton(uint8_t id, uint16_t value, uint16_t samples){
25
26
27
vec->setButton != NULL &&
28
// if it is not a MIDI note, check that value has changed
0 commit comments