mirror of https://github.com/kivy/kivy.git
Merge pull request #1085 from krivar/patch-2
add mp3 to audio_pygame.py
This commit is contained in:
commit
0c7edd9f60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue