Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2018.4
2019.3
2019.3.0f6
2020.1
Issue ID
1216707
Regression
No
[Android] AudioMixer values get reset when switching audio output to a bluetooth device
Repro steps:
1. Open attached project
2. Build and Run on Android
3. Press the Play button in the app
An ambient sound starts playing
4. Press the Mute button
5. Connect a bluetooth speaker to the device
6. Press Play again
Expected: There are no sounds playing
Actual: The ambient sound starts playing
Reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.3.1f1, 2020.1.0a23
Tested and reproduced on these devices:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
R58M20VC62B, Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: Exynos 9 Series 9820, GPU: Mali-G76
VLNQA00320, Xiaomi - (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4
VLNQA00078, Motorola Nexus 6 (Nexus 6), Android 7.1.1, CPU: Snapdragon 805 APQ8084AB, GPU: Adreno (TM) 420
VLNQA00091, Google Pixel 2 XL (Pixel 2 XL), Android 10, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Didn't reproduce on these devices:
VLNQA00230, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00318, Oneplus - (GM1913), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
iPhone X (iOS 11.3.1)
iPhone 7 (iOS 10.2)
Notes:
All audio mixer variables are reset when connecting to a bluetooth device, not only volume but also any of the other effects that are applied (distortion, reverb...).
-
toantranaviron
Jul 19, 2022 02:08
How to disable OpenSL? My game have many audio sources, it's hard to handle theme manually.
-
Revolter
May 05, 2022 08:26
How do you disable OpenSL?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- FocusNextInDirection not focusing when used on multiline TextFields
- Single click calls UI Element renaming with a delay when clicked on the UI Element name
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
Resolution Note (2020.2.X):
Two solutions according to the audio team:
Disable OpenSL or find a workaround with the OnAudioConfigurationChange callback, which work for ambient sounds and music that has to be on for a long period time.