Skip to content

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

Open
@YesSeri

Description

@YesSeri

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions