mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 20:44:42 +00:00
Fixed opening audio on Android from the Steam Link shell activity
This commit is contained in:
@@ -234,6 +234,7 @@ openslES_CreatePCMRecorder(_THIS)
|
||||
int i;
|
||||
|
||||
if (!Android_JNI_RequestPermission("android.permission.RECORD_AUDIO")) {
|
||||
LOGE("This app doesn't have RECORD_AUDIO permission");
|
||||
return SDL_SetError("This app doesn't have RECORD_AUDIO permission");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user