From 0df033d3b749d6e121807e1d1a72f85d617c6128 Mon Sep 17 00:00:00 2001 From: OV2 Date: Mon, 12 Jun 2017 21:50:02 +0200 Subject: [PATCH] Fix MSU1 audio --- apu/apu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apu/apu.cpp b/apu/apu.cpp index 34460b20..aec80a84 100644 --- a/apu/apu.cpp +++ b/apu/apu.cpp @@ -462,7 +462,7 @@ static void UpdatePlaybackRate (void) if (Settings.MSU1) { - time_ratio = (44100.0 / Settings.SoundPlaybackRate) * (Settings.SoundInputRate / 32040); + time_ratio = (44100.0 / Settings.SoundPlaybackRate) * (Settings.SoundInputRate / 32040.0); msu::resampler->time_ratio(time_ratio); } }