OoO En cette aube naissante du mercredi 26 août 2009, vers 07:53, Ulrich Eckhardt <dooms...@knuut.de> disait :
> On Tuesday 25 August 2009 17:55:16 Vincent Bernat wrote: >> In some Python console, could you just try the following: >> >>> import pygame.mixer >> >>> pygame.mixer.init() >> >>> pygame.mixer.Sound("/usr/share/games/balazar3/sounds/oceane.ogg") >> >> And tell me if it works. > | Python 2.5.4 (r254:67916, Feb 18 2009, 04:30:07) > | [GCC 4.3.3] on linux2 > | Type "help", "copyright", "credits" or "license" for more information. > | >>> import pygame.mixer > | >>> pygame.mixer.init() > | ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave > | Traceback (most recent call last): > | File "<stdin>", line 1, in <module> > | pygame.error: No available audio device > Nope, doesn't. So, apart from the fact that balazar should ignore the fact > that no sound is available, pygame should be fixed, too. Do you have libsdl1.2debian-pulseaudio installed? What is your version of python-pygame? This bug report could be related to your problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394484 -- TAR IS NOT A PLAYTHING TAR IS NOT A PLAYTHING TAR IS NOT A PLAYTHING -+- Bart Simpson on chalkboard in episode 7F02
pgpWydU9tHqlM.pgp
Description: PGP signature