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 - 1.2->1.3 Mix_LoadWAV regression error
Summary: 1.2->1.3 Mix_LoadWAV regression error
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 09:35 UTC by wilbefast
Modified: 2013-07-04 23:34 UTC (History)
0 users

See Also:


Attachments
minimal code to reproduce (1.72 KB, text/x-csrc)
2012-06-08 09:35 UTC, wilbefast
Details

Note You need to log in before you can comment on or make changes to this bug.
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.