From 31abd6dc5c09e36eb3d104c0c47707f985801bbd Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sun, 25 Jul 2021 18:29:19 -0500 Subject: [PATCH] chore(apu): change default sample rate --- src/apu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apu.rs b/src/apu.rs index f8b6ee7..ab01142 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -12,7 +12,7 @@ mod types; const WAVE_PATTERN_RAM_LEN: usize = 0x10; -const SAMPLE_RATE: u32 = 44100; // Hz +const SAMPLE_RATE: u32 = 48000; // Hz const AUDIO_BUFFER_LEN: usize = 512; const CHANNEL_COUNT: usize = 2; const SAMPLE_INCREMENT: u64 = SAMPLE_RATE as u64;