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

[stb-vorbis] Some multi-channel OGG Vorbis files gets wrongly decoded #1594

Open
Wohlstand opened this issue Jan 7, 2024 · 0 comments
Open

Comments

@Wohlstand
Copy link

Describe the bug
I do have two OGG Vorbis files: one was a result of the VGMStream, and second I exported and re-encoded via the Audacity. Both files lead a very dirty output instead of the music. Both files do work just fine via the mainsteam libvorbis and via the Tremor (libvorbisidec).

There are demo files: test-files.zip

To Reproduce
Steps to reproduce the behavior:

  • Open test1.ogg or test2.ogg via stb-vorbis.
  • Run the decode as Float32 with the same number of channels as file has (both files have 6 channels inside).
  • Final output will be a junk (can be heard in the test-actually.ogg file).

Expected behavior
It should result the sounding similar to the test-how-it-should.ogg file (output has been converted into the stereo via SDL2's AudioStream functionality).

Screenshots
How the content of the file looks visually (Audacity):
Снимок экрана от 2024-01-07 05-23-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant