Skip to content
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

Distorted audio running Android export on Acer Chromebooks #68395

Open
Tracked by #76797
Gromph opened this issue Nov 8, 2022 · 1 comment
Open
Tracked by #76797

Distorted audio running Android export on Acer Chromebooks #68395

Gromph opened this issue Nov 8, 2022 · 1 comment

Comments

@Gromph
Copy link
Contributor

Gromph commented Nov 8, 2022

Godot version

3.5.1.stable.official

System information

Acer Chromebook CB5-132T

Issue description

Audio playback is very distorted sounding when running an Android apk exported with Godot 3.5.1 on an Acer Chromebook CB5-132T. Our users have also reported distorted sound on Acer Chromebooks CB3-431 and CB3-532

The problem did not reproduce on a Dell Chromebook 5190

Audio also sounds fine when exported with Godot 3.4.5. I was unable to test on 4.0 due to another error (Unable to setup the Godot Engine! Aborting.)

I also tested converting the ogg to wav and it still sounded bad.

Steps to reproduce

  1. Create New Project
  2. Create User Interface Scene
  3. Add AudioStreamPlayer
  4. Add a ogg file to project (I used House In a Forest Loop.ogg from https://docs.godotengine.org/en/stable/_downloads/923b18d4e18125cf494ee5f7efba7e03/dodge_assets.zip)
  5. Drag ogg to AudioStreamPlayer
  6. Check on Playing and Autoplay
  7. Export Android APK
  8. Install APK on Acer Chromebook and run

Minimal reproduction project

AndroidAudioTest.zip

Screen recording with audo from chromebook:
ChromebookDistortedAudio.webm

@Gromph
Copy link
Contributor Author

Gromph commented Nov 9, 2022

I narrowed it down to a change in Godot 3.5 rc5
The change is in commit: Upgrade Android NDK to r23 LTS 061c280

It wasn't the upgrade to NDK r23 though. It's something else, I suspect switching from mingw to clang. I determined this by reverting the above commit, and then setting the ndkVersion back to '23.2.8568313'

This fixed the audio for us on our Acer Chromebook.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2023
@Calinou Calinou reopened this Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants