Commits

Lenard Lindstrom committed cc41269

house_lo.mp3 crashes smpeg on Debian Linux. Remove from unit tests and add MP3 warning to docs

Comments (0)

Files changed (2)

 
 The difference between the music playback and regular Sound playback is that
 the music is streamed, and never actually loaded all at once. The mixer system
-only supports a single music stream at once. 
+only supports a single music stream at once.
+
+Be aware that MP3 support is limited. On some systems an unsupported format
+can crash the program, e.g. Debian Linux. Consider using OGG instead.
 <SECTION>
 
 

test/mixer_music_test.py

         data_fname = example_path('data')
         pygame.mixer.init()
 
-        formats = ['mp3', 'ogg', 'wav']
+        # The mp3 test file can crash smpeg on some systems.
+        ## formats = ['mp3', 'ogg', 'wav']
+        format = ['ogg', 'wav']
 
         for f in formats:
             musfn = os.path.join(data_fname, 'house_lo.%s' % f)