[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] [BUG] ctypes-pygame -- audio init issue



Hey,

pygame.mixer.init(MIX_FREQ, -16, False, 1024)
causes this error:

  File "main.py", line 74, in init
    pygame.mixer.init(MIX_FREQ, -16, False, 1024)
  File "/usr/lib/python2.4/site-packages/pygame/mixer.py", line 174, in init
    __PYGAMEinit__(frequency, size, stereo, buffer)
  File "/usr/lib/python2.4/site-packages/pygame/mixer.py", line 95, in __PYGAMEinit__
    Mix_OpenAudio(frequency, size, stereo, buffer)
  File "/usr/lib/python2.4/site-packages/SDL/dll.py", line 195, in _f
    raise SDL.error.SDL_Exception, SDL.error.SDL_GetError()
SDL.error.SDL_Exception: 1 (mono) and 2 (stereo) channels supported

Thanks!
Phil


Stay in the know. Pulse on the new Yahoo.com. Check it out.