Fixed
Status Update
Comments
ad...@google.com <ad...@google.com>
tn...@google.com <tn...@google.com>
ji...@google.com <ji...@google.com> #2
I'm observing the same thing on the Nexus 10.
tn...@google.com <tn...@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...
tn...@google.com <tn...@google.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
an...@google.com <an...@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.
Description
STEPS TO REPRODUCE:
1. create any kt file
2. type:
buildList {
this += ""
}
Replacing with add("") fixing the issue, but "operator fun" can be more readable in some cases.
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build:
Android Studio Jellyfish | 2023.3.1 Beta 2
Build #AI-233.14808.21.2331.11608968, built on March 21, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11572160 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Version of Gradle Plugin: 8.2.0, 8.4.0-beta02
Version of Gradle: 8.2-bin, 8.6-bin
Version of Java: Azul Zulu 17.0.7, JetBrains runtime 17.0.10
OS: macOS 14.4.1