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
|
@ -30,7 +30,8 @@ static struct in_pdata in_sdl_platform_data = {
|
|||
.defbinds = in_sdl_defbinds,
|
||||
};
|
||||
|
||||
struct plat_target plat_target;
|
||||
static int sound_rates[] = { 8000, 11025, 16000, 22050, 32000, 44100, 53000, -1 };
|
||||
struct plat_target plat_target = { .sound_rates = sound_rates };
|
||||
|
||||
#if defined __MIYOO__
|
||||
const char *plat_device = "miyoo";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue