We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1489 - Mix_LoadMUS not properly decoding vorbis files
Summary: Mix_LoadMUS not properly decoding vorbis files
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-05 22:24 UTC by raptor85
Modified: 2017-10-21 22:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raptor85 2012-05-05 22:24:33 UTC
Current HG build of SDL2_mixer all vorbis files loaded with Mix_LoadMUS produce a Mix_Music sample of just static noise on load with no error message set for either Mix_GetError() or SDL_GetError().  

The same sound file works properly if loaded as a Mix_Chunk with Mix_LoadWAV. Since the code is identical, compiling and linking it against SDL 1.2 both functions act properly, so this is a new error introduced in 2.0.

MixLoadMUS works fine however with FLAC, .it, and .wav files so far as i've tested, only vorbis files seem effected.

SDL_mixer was configured as 
./configure --enable-music-mp3=no --prefix=/usr --exec-prefix=/usr
to disable MP3 support (as current stable smpeg does not work with the HG source and I didn't need mp3 support)

libvorbis version is 1.3.2
Comment 1 Sam Lantinga 2017-10-21 22:23:36 UTC
Fixed in the latest Mercurial:
http://hg.libsdl.org/SDL_mixer