diff options
Diffstat (limited to 'synth/channel.cpp')
-rw-r--r-- | synth/channel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synth/channel.cpp b/synth/channel.cpp index dbfcc48..61ea6de 100644 --- a/synth/channel.cpp +++ b/synth/channel.cpp @@ -435,6 +435,12 @@ void Channel::kill_program(int prog) it++; } +void Channel::maybe_reload_program(int prog) +{ + if (program==prog) + curr_prg=program_settings[prog]; +} + void Channel::release_all() { list<NoteSkel*>::iterator it; |