From 640ce45325694d1dc574e90c95c55bc464368d7e Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 27 Feb 2023 00:14:05 +0100 Subject: [PATCH] Change SOUND_CLOCK_TICKS to 280896 cycles - ~1074 samples per frame --- src/gba/Sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/Sound.cpp b/src/gba/Sound.cpp index ba714e4a..926bb0d0 100644 --- a/src/gba/Sound.cpp +++ b/src/gba/Sound.cpp @@ -38,7 +38,7 @@ SoundDriver* soundDriver = 0; extern bool stopState; // TODO: silence sound when true -int const SOUND_CLOCK_TICKS_ = 167772; // 1/100 second +int const SOUND_CLOCK_TICKS_ = 280896; // ~1074 samples per frame static uint16_t soundFinalWave[1600]; long soundSampleRate = 44100;