Skip to content

Commit

Permalink
Use libsndfile for reading MP3 files
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Dec 5, 2023
1 parent fb641f3 commit 84e4264
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion audiofile/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
}
r"""Maximum number of channels per format."""

SNDFORMATS = ['wav', 'flac', 'ogg']
SNDFORMATS = [
'wav',
'flac',
'mp3', # requires libsndfile >=1.1.0
'ogg',
]
r"""File formats handled by soundfile"""


Expand Down

0 comments on commit 84e4264

Please sign in to comment.