mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
make sound rates platform dependent
This commit is contained in:
parent
c825b167e9
commit
82b4854771
4 changed files with 7 additions and 2 deletions
|
@ -239,6 +239,7 @@ static int switch_layer(int which, int enable)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int sound_rates[] = { 8000, 11025, 16000, 22050, 32000, 44100, 53000, -1 };
|
||||
struct plat_target plat_target = {
|
||||
cpu_clock_get,
|
||||
cpu_clock_set,
|
||||
|
@ -247,6 +248,7 @@ struct plat_target plat_target = {
|
|||
lcdrate_set,
|
||||
gamma_set,
|
||||
.switch_layer = switch_layer,
|
||||
.sound_rates = sound_rates,
|
||||
};
|
||||
|
||||
int plat_target_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue