And if you put that line after the pygame.init() line?On Wed, Oct 29, 2014 at 7:37 AM, NuMedia <ianldickinson52@xxxxxxxxx> wrote:Hi can any one help with this when using python 2.7 and above or 3.X the line
Âif not pygame.mixer:
  print 'Warning, sound disabled'
message gets printed how do i get round this
thanks NuMedia
code below
#------------------------------------------------------------------------------
import pygame
#------------------------------------------------------------------------------
from App_Class import *
#------------------------------------------------------------------------------
def main():
 if not pygame.mixer:
  print 'Warning, sound disabled'
 pygame.init()
 app = AppClass ()
 app.run ()
#------------------------------------------------------------------------------
#this calls the 'main' function when this script is executed
if __name__ == '__main__': main()
#------------------------------------------------------------------------------
--
View this message in context: http://pygame-users.25799.x6.nabble.com/Using-sound-with-python-2-7-and-above-tp1492.html
Sent from the pygame-users mailing list archive at Nabble.com.