From d5a776d3478ed900e558ac68957f3253691132ee Mon Sep 17 00:00:00 2001 From: sum2012 Date: Fri, 22 Jan 2021 21:12:07 +0800 Subject: [PATCH] Resample all mp3 Fix #5213 --- Core/HLE/sceMp3.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceMp3.cpp b/Core/HLE/sceMp3.cpp index b3bdcb9b1860..a4c1a6a0ca0d 100644 --- a/Core/HLE/sceMp3.cpp +++ b/Core/HLE/sceMp3.cpp @@ -432,10 +432,9 @@ static int sceMp3Init(u32 mp3) { ctx->Version = versionBits; - // for mp3, if required freq is 48000, reset resampling Frequency to 48000 seems get better sound quality (e.g. Miku Custom BGM) + // for mp3, reset resampling Frequency seems get better sound quality (e.g. Miku Custom BGM,Hanayaka Nari Wa ga Ichizoku) // TODO: Isn't this backwards? Woudln't we want to read as 48kHz and resample to 44.1kHz? - if (ctx->freq == 48000) { - ctx->decoder->SetResampleFrequency(ctx->freq); + ctx->decoder->SetResampleFrequency(ctx->freq); } return hleDelayResult(hleLogSuccessI(ME, 0), "mp3 init", PARSE_DELAY_MS);