mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
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
This commit is contained in:
parent
31f944ea8c
commit
5ad7000693
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue