ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
[pygame] [BUG] ctypes-pygame -- audio init issue
by Phil Hassey other posts by this author
Aug 21 2006 6:48AM messages near this date
[pygame] [BUG] pygame-ctypes -- various blitting issues? | [pygame] [BUG] pygame-ctypes -- rect.w
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. 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved