mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
make sound rates platform dependent
This commit is contained in:
parent
33bde0c3c5
commit
089f516d6c
6 changed files with 11 additions and 5 deletions
|
@ -273,6 +273,7 @@ static int plat_bat_capacity_get(void)
|
|||
return scePowerGetBatteryLifePercent();
|
||||
}
|
||||
|
||||
static int sound_rates[] = { 8000, 11025, 16000, 22050, 32000, 44100, -1 };
|
||||
struct plat_target plat_target = {
|
||||
.cpu_clock_get = plat_cpu_clock_get,
|
||||
.cpu_clock_set = plat_cpu_clock_set,
|
||||
|
@ -280,6 +281,7 @@ struct plat_target plat_target = {
|
|||
// .gamma_set = plat_gamma_set,
|
||||
// .hwfilter_set = plat_hwfilter_set,
|
||||
// .hwfilters = plat_hwfilters,
|
||||
.sound_rates = sound_rates,
|
||||
};
|
||||
|
||||
int _flush_cache (char *addr, const int size, const int op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue