Skip to content

Commit

Permalink
Adjust sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
gahag-cw committed Jul 4, 2022
1 parent 788a67e commit 05bd8ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/ambient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub fn play(events: Receiver<Event>) -> anyhow::Result<()> {
output.play_raw(badger.decoder()?.convert_samples())?;
}

thread::sleep(Duration::from_millis(30));
thread::sleep(Duration::from_millis(10));
}
}

2 changes: 1 addition & 1 deletion src/engine/jazz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ pub fn play(events: Receiver<Event>) -> anyhow::Result<()> {
output.play_raw(bass.decoder()?.convert_samples())?;
}

thread::sleep(Duration::from_millis(30));
thread::sleep(Duration::from_millis(10));
}
}

0 comments on commit 05bd8ba

Please sign in to comment.