[SDL] Calling for dropped bug reports...

Kostas Kostiadis kos at climaxgroup.com
Mon Jan 29 01:33:21 PST 2007


Ryan,

Not sure if you remember the thread regarding the mem leak in SDL_mixer.
Here it is:

------------------------------------

Because this is for unit test, I have the effects on a button press.
So it's very likely that Mix_SetPanning() gets called multiple times.
No other effects were set on that channel.

Here's the flow:

Mix_OpenAudio
Set volume to MAX
Allocate 2 channels
Load the 2 different chunks (1 on each channel)
Load the music
Play the music (loop forever)
Play chunk 0 on channel 0
(while sfx is playing) Set Panning on both channels to (255, 0)
Halt Channel (passing -1, i.e. halt all channels)
Free chunk 0
Free chunk 1
Mix_AllocateChannels(0) // free all channels
Halt Music
Free Music
Mix_CloseAudio


Cheers,
Kos

-----Original Message-----
From: Ryan C. Gordon [mailto:icculus at icculus.org] 
Sent: 16 January 2007 18:21
To: Kostas Kostiadis
Subject: Re: Unit test for SDL & SDL_mixer memory leaks


> + background music playing
> + effects on channel 0 and 1
> + while the effect is playing, I call some build in effects.

I assume Mix_SetPanning() gets called multiple times during playback to 
make the channel's audio sound like it's moving? Do other effects get 
called more than once on a given channel? What other effects are set on 
these channels, specifically?

--ryan. 

------------------------------------

Cheers,
Kos

-----Original Message-----
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Ryan C. Gordon
Sent: 29 January 2007 05:34
To: sdl at lists.libsdl.org
Subject: [SDL] Calling for dropped bug reports...


I'm going to allocate some time in the next week or two to sorting 
through Bugzilla and fixing some long-standing bugs. If you reported a 
bug to this mailing list and it hasn't been fixed, please take this 
moment to either make sure it's listed at http://bugzilla.libsdl.org/ or 
  repost it here and I'll enter it in the bugtracker.

Bugs that come to the mailing list sometimes get forgotten, but that 
doesn't mean they aren't important! If you feel your bug got dropped on 
the floor, please speak up now!

Thanks,
--ryan.

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


More information about the SDL mailing list