Merge pull request #1085 from krivar/patch-2

add mp3 to audio_pygame.py
This commit is contained in:
qua-non 2013-04-08 11:50:25 -07:00
commit 0c7edd9f60
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ class SoundPygame(Sound):
# __slots__ = ('_data', '_channel')
@staticmethod
def extensions():
return ('wav', 'ogg', )
if platform() == 'android':
return ('wav', 'ogg', 'mp3')
return ('wav', 'ogg')
def __init__(self, **kwargs):
self._data = None