What steps will reproduce the problem?
1. Init the mixer (Mix_OpenAudio) and load some sound files (Mix_LoadWAV).
2. Play a sound on channel N (<> -1) using the Mix_PlayChannel method.
What is the expected output?
The sound is played on channel N, and the call to Mix_PlayChannel returns N.
What do you see instead?
The sound is played on channel N, but the call to Mix_PlayChannel returns N-1.
When N=0, the return value is -1, which is an error code according to the SDL
mixer documentation.
What version of the product are you using? On what operating system?
Freebox firmware. On the x86 version of Elixir, the expected behavior happens.
Please provide any additional information below.
A test script is attached which shows the problem.
I encountered random issues with the SDL mixer implementation/binding on
Freebox (crashes or failures), but this one is the only I was able to reproduce
systematically. I hope its resolution could highlight/fix the other problems I
face.
Original issue reported on code.google.com by Poor.NewBie@gmail.com on 27 Jan 2011 at 8:20
Original issue reported on code.google.com by
Poor.NewBie@gmail.com
on 27 Jan 2011 at 8:20Attachments: