Open h6ah4i opened 7 years ago
I noticed that OpenSLMediaPlayer failed to play OGG files on Android 7.0+. The following error message printed on logcat;
OpenSLMediaPlayer
E/ACodec: [OMX.google.vorbis.decoder] ERROR(0x80001005) E/ACodec: signalError(omxError 0x80001005, internalError -2147483648) E/MediaCodec: Codec reported err 0x80001005, actionCode 0, while in state 6 [ 01-29 13:15:28.973 8422: 8489 W/ ] [OMX.google.vorbis.decoder] could not get input buffer #0 E/libOpenSLES: MediaSource::read returned error -2147483648
Also, this bug triggers infinite wait on calling prepare() method.
prepare()
[UPDATE] I reported this on AOSP issue tracker
https://code.google.com/p/android/issues/detail?id=234222
i can play ogg on my xiaomi 5 device, i do not call prepare();
I noticed that
OpenSLMediaPlayer
failed to play OGG files on Android 7.0+. The following error message printed on logcat;