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 1178 - Mix_Volume fails to set volume on channel 0 playing a repeating sound
Summary: Mix_Volume fails to set volume on channel 0 playing a repeating sound
Status: ASSIGNED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 1.2.11
Hardware: x86 Linux
: P1 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 15:46 UTC by hector
Modified: 2011-12-31 11:39 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 hector 2011-04-05 15:46:13 UTC
I have encountered an issue with Mix_Volume. It fails to set the volume value for the first assigned channel (0) after calling Mix_PlayChannel(-1,chunk,-1).

The problem is fixed if adding Mix_ReserveChannels(1) before trying to play anything. Mix_VolumeChunk() fails in the same way.
Comment 1 Ryan C. Gordon 2011-12-31 11:39:15 UTC
Bumping priority on a few SDL_mixer bugs. This is just so we know to look at them for an upcoming release, but once we look at them more closely, we may decide to flag them as WONTFIX or push them back to a later release, so don't take this change in priority as any promise of anything, yet.  :)

--ryan.