Same as the last one for BlackBerry and Qt

This commit is contained in:
Henrik Rydgard committed 2015-01-11 14:17:23 +01:00
1 parent b6fea8a355
commit 1b5bf730ca
2 files changed
+16 -2

No files matched your search

+8 -1
View File
@@ -44,7 +44,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;
}
}
void System_SendMessage(const char *command, const char *parameter) {
if (!strcmp(command, "finish")) {
+8 -1
View File
@@ -69,7 +69,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;
}
}
void System_SendMessage(const char *command, const char *parameter) {
if (!strcmp(command, "finish")) {