From 5ad7000693ff868383277f7ba4da3567ccbeed04 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 4 Oct 2013 03:50:29 +0300 Subject: [PATCH] sound: remove cd rate limitations this was only there for mp3 and is now causing problems on caanoo due to it's sample rate limitations --- pico/sound/sound.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pico/sound/sound.c b/pico/sound/sound.c index ec0e205..b12afc3 100644 --- a/pico/sound/sound.c +++ b/pico/sound/sound.c @@ -121,15 +121,6 @@ void PsndRerate(int preserve_state) void *state = NULL; int target_fps = Pico.m.pal ? 50 : 60; - // not all rates are supported in MCD mode due to mp3 decoder limitations - if (PicoAHW & PAHW_MCD) { - if (!(11025-100 <= PsndRate && PsndRate <= 11025+100) && - !(22050-100 <= PsndRate && PsndRate <= 22050+100) && - !(44100-100 <= PsndRate && PsndRate <= 44100+100)) - PsndRate = 22050; - PicoOpt |= POPT_EN_STEREO; // force stereo - } - if (preserve_state) { state = malloc(0x204); if (state == NULL) return; -- 2.39.2