So I then installed pygame-1.8.0, and copied the SDL_mixer & friends dlls into 
the pygame folder from pygame-1.7.1 .. this made the music stop clicking when 
it played the second time around.  However, the sound effects still aren't 
re-starting properly.

-Phil

Phil Hassey <[EMAIL PROTECTED]> wrote: I found that if I add this line (thanks 
mailing list :)

os.environ['SDL_AUDIODRIVER'] = 'waveout'
That mostly fixes it for me.  Now it seems that the second time it plays 
through the
music there is some added clicking artifacts, but the first time it plays fine 
...  

I'm also noticing that sound effects aren't starting / stopping quite the same 
way now either ... I do this in two lines of code:
sound.stop()
sound.play()

But it doesn't seem to stop the first sound .. 

Thanks!
-Phil

Phil Hassey <[EMAIL PROTECTED]> wrote: Upon further investigation, I 
reinstalled pygame-1.8... And removed a line of code:

    pygame.mixer.pre_init(44100,-16,2, 1024 * 3)

Now it isn't awfuly garbled, but there is some clicking .. I'll keep  looking.
-Phil

Phil Hassey <[EMAIL PROTECTED]> wrote: I was using the same custom SDL.dll with 
both.  I am not using a custom SDL_mixer.  I have to use a custom one because 
I'm integrating a game with some 3rd party stuff that needs some special magic 
in SDL to work.  If I use the installed SDL.dll, pygame doesn't receive any 
events because of (insert some reason that is beyond my comprehension here).

Hope that helps!
-Phil

Brian Fisher <[EMAIL PROTECTED]> wrote: were you using the same custom sdl 
binaries with both 1.7 and 1.8?
were you using custom SDL_mixer or just custom SDL.dll? Why are you
using custom ones? what happens if you use the installer  ones?

On Sat, Apr 5, 2008 at 11:57 AM, Phil Hassey 
 wrote:
> Hey,
>
> I was trying out pygame 1.8 on my dell laptop with xp pro sp2 .. and the
> sound  was horribly garbled.  I downgraded to pygame 1.7 to resolve the
> issue.  I'm guessing this is a sdl-mixer issue ... since I'm using a custom
> SDL.dll in both cases.  So I guess this isn't even the right mailing list,
> but I figured I'd share my gripes in public in the wrong place rather than
> keep them to myself.
>
> -Phil
>
>
>  ________________________________
> You rock. That's why Blockbuster's offering you one month of Blockbuster
> Total Access, No  Cost.


           

---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster  Total 
Access, No Cost.
           

---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.
         

---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

Reply via email to