mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Remove asserts from OpenSL init. Expose error inside audio settings
This commit is contained in:
1 parent
8ae3f5eb41
commit
90cb284837
6 files changed
+111
-54
No files matched your search
@@ -132,3 +132,13 @@ bool AndroidAudio_Shutdown(AndroidAudioState *state) {
|
||||
INFO_LOG(AUDIO, "OpenSLWrap completely unloaded.");
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::string AndroidAudio_GetErrorString(AndroidAudioState *state) {
|
||||
if (!state) {
|
||||
return "No state";
|
||||
}
|
||||
if (!state->ctx) {
|
||||
return "No context";
|
||||
}
|
||||
return state->ctx->GetErrorString();
|
||||
}
|
||||
Reference in new issue
Block a user