diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-22 00:48:19 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-22 00:48:19 -0500 |
| commit | ebb06a7f45852f468a75c7488e1d07027600a5af (patch) | |
| tree | e510f2d0cdcbe0985483fdfb823ec75bf99e24c7 /graphics/src/audio/mod.rs | |
| parent | audio: add temp changing (diff) | |
| download | DungeonCrawl-ebb06a7f45852f468a75c7488e1d07027600a5af.tar.gz DungeonCrawl-ebb06a7f45852f468a75c7488e1d07027600a5af.tar.bz2 DungeonCrawl-ebb06a7f45852f468a75c7488e1d07027600a5af.zip | |
audio: fix tempo (off by one, rahhhgit status!)
Diffstat (limited to 'graphics/src/audio/mod.rs')
| -rw-r--r-- | graphics/src/audio/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/src/audio/mod.rs b/graphics/src/audio/mod.rs index a8c24ad..f0de9d4 100644 --- a/graphics/src/audio/mod.rs +++ b/graphics/src/audio/mod.rs @@ -13,8 +13,7 @@ mod parse; mod program; const AUDIO_FPS: u32 = 60; - -pub const TIME_SLICE: Duration = Duration::from_millis(1000 / AUDIO_FPS as u64); +const TIME_SLICE: Duration = Duration::from_millis(1000 / AUDIO_FPS as u64); /// Holds each audio channel pub struct Channels { |