mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed file not closing after require(). Changed seek() to use seconds.
This commit is contained in:
@@ -73,9 +73,9 @@ namespace lullaby
|
||||
return bufferSize;
|
||||
}
|
||||
|
||||
bool FLACDecoder::seek(int ms)
|
||||
bool FLACDecoder::seek(float s)
|
||||
{
|
||||
return seek_absolute(ms);
|
||||
return seek_absolute((int)(s*1000.0f));
|
||||
}
|
||||
|
||||
bool FLACDecoder::rewind()
|
||||
|
||||
Reference in New Issue
Block a user