psp, revisit audio handling

sound rates 44100, 22050, 11025 Hz, internally upsampled
conversion to stereo since mono isn't supported well on psp
This commit is contained in:
kub 2024-02-22 20:51:08 +01:00
parent d12dd1b4ea
commit e28fd20f08
3 changed files with 138 additions and 79 deletions

View file

@ -275,7 +275,7 @@ static int plat_bat_capacity_get(void)
return scePowerGetBatteryLifePercent();
}
static int sound_rates[] = { 8000, 11025, 16000, 22050, 32000, 44100, -1 };
static int sound_rates[] = { 11025, 22050, 44100, -1 };
struct plat_target plat_target = {
.cpu_clock_get = plat_cpu_clock_get,
.cpu_clock_set = plat_cpu_clock_set,