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 1516

Summary: 1.2->1.3 Mix_LoadWAV regression error
Product: SDL Reporter: wilbefast
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: minimal code to reproduce

Description wilbefast 2012-06-08 09:35:20 UTC
Created attachment 873 [details]
minimal code to reproduce

*** NB: I'm filing this under SDL main not SDL_mixer because I'm compiling against the same version of SDL_mixer (the newest version) in both cases. The only difference between the two compilations is the version of SDL. ***

The following ( http://pastebin.com/X9RhZCJq ) piece of minimal code is a short main function that opens and plays a .wav file when linked with SDL 1.2 (/usr/lib/SDL). When linked with SDL 1.3 (/usr/local/lib/SDL) though it throws an "unrecognized file type (not WAVE)" error.

You'll need to supply your own wave file for this to work: any .wav should be fine.
Comment 1 wilbefast 2012-06-09 04:54:39 UTC
Also: system was Ubuntu 10.04 64 bit.
Comment 2 Ryan C. Gordon 2013-07-04 23:34:10 UTC
It's possible we fixed this in the last year, but this is definitely working for me with SDL/test/sample.wav.

If it's still busted for you, please reopen this bug.

--ryan.