Fixed
Status Update
Comments
sg...@google.com <sg...@google.com> #2
I'm observing the same thing on the Nexus 10.
sg...@google.com <sg...@google.com> #3
Sleep as Android users who upgraded to 4.3 recently report the same issue. It seems SoundPool looping is broken in 4.3...
ge...@paymentsense.com <ge...@paymentsense.com> #4
I can approve the issue is reproducible on the 4.3 emulator. Unfortunately no hint in in the logcat related to audio or sound pool which would give further insight. The only think I'm getting releted to SoundPool every time I try using it is:
07-29 12:19:43.844: ERROR/SoundPool(296): error loading /system/media/audio/ui/KeypressReturn.ogg
07-29 12:19:43.864: WARN/AudioService(296): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
07-29 12:19:43.814: WARN/AudioService(296): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
07-29 12:19:43.814: ERROR/SoundPool(296): error loading /system/media/audio/ui/Effect_Tick.ogg
...
07-29 12:19:43.864: WARN/AudioService(296): onLoadSoundEffects(), Error -1 while loading samples
07-29 12:19:43.844: ERROR/SoundPool(296): error loading /system/media/audio/ui/KeypressReturn.ogg
07-29 12:19:43.864: WARN/AudioService(296): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
07-29 12:19:43.814: WARN/AudioService(296): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
07-29 12:19:43.814: ERROR/SoundPool(296): error loading /system/media/audio/ui/Effect_Tick.ogg
...
07-29 12:19:43.864: WARN/AudioService(296): onLoadSoundEffects(), Error -1 while loading samples
sg...@google.com <sg...@google.com> #5
I did try a non -1 looping parameter and it seems even finite looping is broken. Did someone had a chance to look at the 4.3 sources for SoundPool? Thanks.
ge...@paymentsense.com <ge...@paymentsense.com> #6
Incorrect behaviour also on Nexus 7 since 4.3.
Easy to reproduce, Code nearly as above:
https://play.google.com/store/apps/details?id=nax.naxan.virtualfan
(in Mode Soundpool on 4.3 only one loop is played, on 4.2 it's looping)
Addition:
The code in 4.2.2 looks like looping is done in the native part:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/media/SoundPool.java/
Easy to reproduce, Code nearly as above:
(in Mode Soundpool on 4.3 only one loop is played, on 4.2 it's looping)
Addition:
The code in 4.2.2 looks like looping is done in the native part:
sg...@google.com <sg...@google.com> #7
I'm having the same problem, loop will only play once :\
ge...@paymentsense.com <ge...@paymentsense.com> #8
[Comment deleted]
sg...@google.com <sg...@google.com> #9
Same here, I've only managed to solve it by using MediaPlayer instead, although I think the looping sounds clunkier.
ge...@paymentsense.com <ge...@paymentsense.com> #10
Got the same problem on Gnex 4.3, can't use the MediaPlayer since I need the setRate Method for car engine pitch modification.
90% of car/bike games on the play store have their engine sound effect broken on 4.3 due to this.
90% of car/bike games on the play store have their engine sound effect broken on 4.3 due to this.
sg...@google.com <sg...@google.com> #11
The same for nexus 7.
ge...@paymentsense.com <ge...@paymentsense.com> #12
Same for Nexus 4 and Nexus 7 with Android 4.3. Audio in Android is a big mess..... ;/
ge...@paymentsense.com <ge...@paymentsense.com> #13
Same problem on a Nexus 7, both infinite and finite looping are not working. The same code works on a phone running 4.2.2.
sg...@google.com <sg...@google.com> #14
[Comment deleted]
ge...@paymentsense.com <ge...@paymentsense.com> #15
Yes I get this issue on nexus 7 4.3
ap...@google.com <ap...@google.com> #16
Having the same problem 2 please fix this
an...@paymentsense.com <an...@paymentsense.com> #17
Same issue 36907002 Nexus 7 running 4.3
cl...@google.com <cl...@google.com>
ap...@google.com <ap...@google.com> #18
Needs fixing.
cl...@google.com <cl...@google.com> #19
Must be fixed
ap...@google.com <ap...@google.com> #20
plz fix
ap...@google.com <ap...@google.com> #21
Why did you not find this in testing? Please fix. Thanx
ap...@google.com <ap...@google.com> #23
Needs fixing
ap...@google.com <ap...@google.com> #24
Fix it please!
cl...@google.com <cl...@google.com>
an...@google.com <an...@google.com> #25
Must be fixed, please fix it
an...@google.com <an...@google.com> #26
Even i am facing same problem..PLease fix it. It has ruined sound effects in my app.
cu...@gmail.com <cu...@gmail.com> #27
Please fix ASAP!
ch...@google.com <ch...@google.com> #28
Same issue on Google nexus tablet....please fix it.
Description
Hello,
The issue continues to happen for us even with AGP 8.4.1. I am attaching the smali output here.
java.lang.VerifyError: Verifier rejected class com.pax.log.LogUtils: java.lang.StackTraceElement com.pax.log.LogUtils.getCaller(com.pax.log.b, java.lang.StackTraceElement[], int) failed to verify: java.lang.StackTraceElement com.pax.log.LogUtils.getCaller(com.pax.log.b, java.lang.StackTraceElement[], int): [0x21] type Undefined unexpected as arg to if-eqz/if-nez (declaration of 'com.pax.log.LogUtils' appears in /data/app/******-1/base.apk:classes8.dex)
at com.pax.log.LogUtils.isAndroid(LogUtils.java:125)
at com.pax.log.PaxLogWrapper.<init>(PaxLogWrapper.java:63)
at com.pax.log.PaxLogWrapper.<init>(PaxLogWrapper.java:52)
at com.pax.log.LogWrapperBinding.<clinit>(LogWrapperBinding.java:1)
at com.pax.log.LogWrapperBinding.registerLog(LogWrapperBinding.java:1)
at com.pax.poscomm.utils.CommLog.<clinit>(CommLog.java:1)
at com.pax.poscomm.utils.CommLog.v(CommLog.java:1)
at com.pax.poscomm.posapi.peripheries.NeptuneBase.getDalObjFromNeptuneLite(NeptuneBase.java:5)
at com.pax.poscomm.posapi.peripheries.NeptuneBase.getDalObjectFromNeptuneLib(NeptuneBase.java:6)
at com.pax.poscomm.posapi.peripheries.NeptuneBase.getClassLoader(NeptuneBase.java:2)
at com.pax.poscomm.posapi.peripheries.NeptuneBase.loadDex(NeptuneBase.java:4)
at com.pax.poslink.POSLinkAndroid.a(POSLinkAndroid.java:2)
at com.pax.poslink.POSLinkAndroid.init(POSLinkAndroid.java:21)