From: notaz Date: Fri, 4 Oct 2013 00:50:29 +0000 (+0300) Subject: sound: remove cd rate limitations X-Git-Tag: v1.91~19 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ad7000693ff868383277f7ba4da3567ccbeed04;p=picodrive.git 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 --- diff --git a/pico/sound/sound.c b/pico/sound/sound.c index ec0e2059..b12afc3c 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;