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

Stuttering sound in web export, error message is silenced. #90532

Open
Tracked by #76797
YesSeri opened this issue Apr 11, 2024 · 3 comments
Open
Tracked by #76797

Stuttering sound in web export, error message is silenced. #90532

YesSeri opened this issue Apr 11, 2024 · 3 comments

Comments

@YesSeri
Copy link

YesSeri commented Apr 11, 2024

Tested versions

reproducible: 4.3-dev5, 4.2.1
no error message in 4.3-dev5

System information

Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2080 Ti (nvidia; 535.161.07) - Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 Threads)

Issue description

In version 4.2.1 there is the following bug:

issue 70652

When I export to web I get the following:

I get an error saying: 'Output buffer has not enough frames! Skipping output frame' and I can also hear the game sound stuttering. I use MP3AudioStreamPlayer to play a song.

It works good when I run it in the godot engine.

I downloaded Godot 4.3-dev5 to see if that solves the audio problems.

In v4.3-dev5 I no longer get the error message 'Output buffer has not enough frames! Skipping output frame.' but I still hear the sound stuttering. Why is that? This behaviour would make it even harder to diagnose what the bug is with the sound.

Steps to reproduce

Use mp3audiostreamplayer in a new project and export to web.

Minimal reproduction project (MRP)

min_example.zip

@AThousandShips
Copy link
Member

@YesSeri
Copy link
Author

YesSeri commented Apr 26, 2024

I have installed 4.3.dev5 and tested with threads disabled, but nothing changes. In 4.2.1 I got the error message when the static sound came, but now I get no error message at all, but the sound has a lot of static noise in it.

@YesSeri
Copy link
Author

YesSeri commented Apr 26, 2024

I changed the compatability mode from 'Compatability' to 'Mobile' and that got rid of the irritating static sound. No idea why.

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