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 747

Summary: Can not set channel volume louder than music
Product: SDL_mixer Reporter: Ars <ars.masiuk>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2 CC: sezeroz
Version: 1.2.8   
Hardware: x86   
OS: Windows Vista   
Attachments: modified playwave for example.
wav file I used for testing

Description Ars 2009-05-29 00:33:02 UTC
When music is playing and its volume is set, say, to 40, then channel sound is being played not louder than 40, even if SDL_Volume is set to bigger value.

Issue is seen with midi and mp3 samples.
Comment 1 Ryan C. Gordon 2009-10-10 20:26:17 UTC
Created attachment 407 [details]
modified playwave for example.

I can't reproduce this in the latest svn. Here's a modified version of playwave that loops a .wav file until you hit ctrl-c while playing an mp3, fading the mp3's volume in and out every few seconds.

Look for "/home/icculus" in the source and supply your own mp3 or midi.

The .wav file is attached here. Notice that the volume doesn't change, and it never prints out a warning that the volume is incorrect (so the mixer thinks the volume is correct AND it actually is).

If you have a better test case that triggers this bug, please post it here, but I can't do more with the information I have.

--ryan.
Comment 2 Ryan C. Gordon 2009-10-10 20:27:04 UTC
Created attachment 408 [details]
wav file I used for testing
Comment 3 Sam Lantinga 2011-12-31 11:02:56 UTC
No response in a couple years, closing this out for now.