Update dr_mp3 to 0.6.34.

Closes #1898
This commit is contained in:
Miku AuahDark
2023-01-24 20:42:21 +08:00
parent 7e661d2fb1
commit 61352b90a5
3 changed files with 1472 additions and 881 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ This distribution contains code from the following projects (full license text b
- dr_mp3
Website: https://mackron.github.io/dr_libs/
Source download: https://github.com/mackron/dr_libs/blob/47fdc9d/dr_mp3.h
Source download: https://github.com/mackron/dr_libs/blob/dd762b8/dr_mp3.h
License: MIT/Expat
Copyright 2018 David Reid
+1470 -879
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -144,7 +144,7 @@ MP3Decoder::MP3Decoder(Stream *stream, int bufferSize)
throw love::Exception("Could not find first valid mp3 header.");
// initialize mp3 handle
if (!drmp3_init(&mp3, onRead, onSeek, this, nullptr, nullptr))
if (!drmp3_init(&mp3, onRead, onSeek, this, nullptr))
throw love::Exception("Could not read mp3 data.");
sampleRate = mp3.sampleRate;