Browse Source

Update dr_mp3 to 0.6.34.

Closes #1898
Miku AuahDark 2 years ago
parent
commit
61352b90a5
3 changed files with 339 additions and 228 deletions
  1. 1 1
      license.txt
  2. 337 226
      src/libraries/dr/dr_mp3.h
  3. 1 1
      src/modules/sound/lullaby/MP3Decoder.cpp

+ 1 - 1
license.txt

@@ -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
 

File diff suppressed because it is too large
+ 337 - 226
src/libraries/dr/dr_mp3.h


+ 1 - 1
src/modules/sound/lullaby/MP3Decoder.cpp

@@ -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;

Some files were not shown because too many files changed in this diff