mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
+1
-1
@@ -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
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user