-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oboe doesn't work on android API 19..21 emulators #790
Comments
UPDATE: It looks like oboe works fine on those real devices, but fails on emulators. Cannot prove it myself, don't own such a device... |
Just tried running hello-oboe on the Nexus 4 API 19 emulator. App crashed on startup with the following output:
Question is, why is it giving Seems that setting the stream format to
Audio does definitely work in the API 19 emulator as I tested it successfully with UAMP. It may be that OpenSL ES is broken on API 19 - 21. @philburk Perhaps we should add this to QuirksManager. This SO question would allow us to detect whether we're running on an emulator (although it's using Java API so some hackery using JNI required). |
For me also. Pixel 3 API 30 emulator runs without crash but with no sounds. On real device I hear the playback. Static linking, oboe 1.6.1 |
Emulators below API level 22 are no longer available on AVD manager. Thus, closing this. |
Android Version(s): API 19, 20, 21
Android Device(s): Nexus 4
Oboe Version: 1.3.2 (babddb0 ("Fix erroneous restart on initial device list notification", 2020-02-06))
Short Description
LiveEffect app segfaults when opening input stream with messages:
Steps To Reproduce
Build LiveEffect sample app. Run it on Nexus 4 API 19 (I used emulator). Select "Open SL ES". Click button "Start". Segfault.
Expected behavior
The app should work without segfault.
Actual behavior
The app segfaults...
Additional context
I'm developing an app https://play.google.com/store/apps/details?id=ru.vitvlkv.vocalizzo.full&hl=en_US and when I've switched from Java audio to Oboe, I've discovered that my app has lost support for the Android 5.0 API 21 (Huawei P8). Checked that on API 19, same thing.
The text was updated successfully, but these errors were encountered: