aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-01-15 10:17:58 +0100
committerBad Diode <bd@badd10de.dev>2024-01-15 10:17:58 +0100
commite8f4708a6d809c33719ec2f773d23e05c8619b2b (patch)
tree5ab02aef007e060c34ead52d4fe68f8ccf200c37 /src
parentbe37f274be067e92f9240112b7a047b8ef9e09b0 (diff)
downloadstepper-e8f4708a6d809c33719ec2f773d23e05c8619b2b.tar.gz
stepper-e8f4708a6d809c33719ec2f773d23e05c8619b2b.zip
Fix bug when sound would not be stopped in link mode when toggling
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
-rw-r--r--src/sequencer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6b7619f..5e18396 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,6 +26,7 @@ WITH REGARD TO THIS SOFTWARE.
26// + Allow using B + dpad to nudge trigs. This will potentially mean switching 26// + Allow using B + dpad to nudge trigs. This will potentially mean switching
27// + Hold L/R retriggers at short intervals? 27// + Hold L/R retriggers at short intervals?
28// to key release to enable trigs. 28// to key release to enable trigs.
29// + Fix bug with not being able to stop the sound when synced
29// - Fix any bugs we currently have 30// - Fix any bugs we currently have
30// - Add an envelope to ch3, would need to work with a timer in order to make 31// - Add an envelope to ch3, would need to work with a timer in order to make
31// it work I think (Can reuse the 96bpq sequencer timer for this). 32// it work I think (Can reuse the 96bpq sequencer timer for this).
diff --git a/src/sequencer.c b/src/sequencer.c
index 3433da1..981bbc6 100644
--- a/src/sequencer.c
+++ b/src/sequencer.c
@@ -577,6 +577,7 @@ toggle_playing(void) {
577 settings.sync == SYNC_IN_LINK_24BPQ || 577 settings.sync == SYNC_IN_LINK_24BPQ ||
578 settings.sync == SYNC_IN_LINK_12BPQ || 578 settings.sync == SYNC_IN_LINK_12BPQ ||
579 settings.sync == SYNC_IN_LINK_4BPQ) { 579 settings.sync == SYNC_IN_LINK_4BPQ) {
580 stop_sound();
580 return; 581 return;
581 } 582 }
582 583