mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
SDL: Implement SYSPROP_AUDIO_SAMPLE_RATE query
This commit is contained in:
parent
9201103abe
commit
b6fea8a355
@ -312,7 +312,14 @@ std::string System_GetProperty(SystemProperty prop) {
|
||||
}
|
||||
}
|
||||
|
||||
int System_GetPropertyInt(SystemProperty prop) {return -1;}
|
||||
int System_GetPropertyInt(SystemProperty prop) {
|
||||
switch (prop) {
|
||||
case SYSPROP_AUDIO_SAMPLE_RATE:
|
||||
return 44100;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
InputState input_state;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user