auditioner: do not reset my patches when changing files
* if a file has program-changes, then it will set() my patches * if a file does *not* have PCs, the user might choose one (which sets() it) * if the next file does *not* have PCs, we should preserve the user's selection * if the next file has PCs, it will set() it (losing the user selection)
This commit is contained in:
parent
849526b7e7
commit
ed07b26d76
@ -372,10 +372,6 @@ Auditioner::audition_region (boost::shared_ptr<Region> region, bool loop)
|
||||
|
||||
Glib::Threads::Mutex::Lock lm (lock);
|
||||
|
||||
for (uint8_t c = 0; c < 16; ++c) {
|
||||
_patch_change[c].unset ();
|
||||
}
|
||||
|
||||
if (boost::dynamic_pointer_cast<AudioRegion>(region) != 0) {
|
||||
|
||||
_midi_audition = false;
|
||||
|
Loading…
Reference in New Issue
Block a user