Add snapshot next/prev MIDI bindings

This commit is contained in:
FoolHen
2026-06-03 21:21:43 +02:00
parent bcf7c708d3
commit 00952dad3a
8 changed files with 135 additions and 1 deletions
+6
View File
@@ -83,6 +83,7 @@ namespace pipedal
NextMidiProgram,
NextMidiBank,
NextMidiSnapshot,
Lv2StateChanged,
MaybeLv2StateChanged,
@@ -444,6 +445,11 @@ namespace pipedal
RealtimeNextMidiProgramRequest msg{requestId : requestId, direction : direction};
write(RingBufferCommand::NextMidiBank, msg);
}
void OnNextMidiSnapshot(int64_t requestId, int32_t direction)
{
RealtimeNextMidiProgramRequest msg{requestId : requestId, direction : direction};
write(RingBufferCommand::NextMidiSnapshot, msg);
}
void SetControlValue(int effectIndex, int controlIndex, float value)
{