Skip to content

Commit

Permalink
SetPan and SetLevel should be immediate
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde committed Feb 1, 2021
1 parent 468fc12 commit 668f311
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions loopers-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ impl Engine {

use LooperCommand::*;
match (looper.length_in_samples() == 0, looper.mode, lc) {
// SetLevel and SetPan should apply immediately
(_, _, SetLevel(_)) => None,
(_, _, SetPan(_)) => None,

(_, _, Record)
| (_, LooperMode::Recording, _)
| (true, _, RecordOverdubPlay)
Expand Down

0 comments on commit 668f311

Please sign in to comment.