Skip to content

Commit 8caf3c7

Browse files
Bastian Bechtoldbtd
Bastian Bechtold
authored and
btd
committed
fixes MP3 support and M1 binaries
No longer assumes *.MP3 files to have the *.MPEG file extension M1 binaries should correctly support MP3 this time (thank you @faroit!)
1 parent c8b2616 commit 8caf3c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_soundfile_data

soundfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'OGG': 0x200000, # Xiph OGG container
6262
'MPC2K': 0x210000, # Akai MPC 2000 sampler
6363
'RF64': 0x220000, # RF64 WAV file
64-
'MPEG': 0x230000, # MPEG-1/2 audio stream
64+
'MP3': 0x230000, # MPEG-1/2 audio stream
6565
}
6666

6767
_subtypes = {
@@ -135,7 +135,7 @@
135135
'OGG': 'VORBIS',
136136
'MPC2K': 'PCM_16',
137137
'RF64': 'PCM_16',
138-
'MPEG': 'MPEG_LAYER_III',
138+
'MP3': 'MPEG_LAYER_III',
139139
}
140140

141141
_ffi_types = {

0 commit comments

Comments
 (0)