summaryrefslogtreecommitdiff
path: root/graphics/src/audio/program.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/audio/program.rs')
-rw-r--r--graphics/src/audio/program.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/src/audio/program.rs b/graphics/src/audio/program.rs
index 91f0608..270a214 100644
--- a/graphics/src/audio/program.rs
+++ b/graphics/src/audio/program.rs
@@ -99,7 +99,7 @@ impl Program {
match ins {
I::Pause => {
// pause execution until next `exec` call
- self.pause = (AUDIO_FPS * 4) / self.tempo.clamp(1, 240);
+ self.pause = (AUDIO_FPS * 8) / self.tempo.clamp(1, 240);
}
I::Jump(pc) => {
self.pc = pc;
@@ -144,7 +144,6 @@ impl Program {
pub fn exec(&mut self, channels: &mut Channels) {
if self.pause > 0 {
self.pause -= 1;
- return;
}
loop {
if self.pause > 0 {