mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Use doubles instead of floats for the time argument in Source:seek. This probably won't affect anything meaningfully, but in theory it's more precise.
This commit is contained in:
@@ -143,7 +143,7 @@ int WaveDecoder::decode()
|
||||
return (int) size;
|
||||
}
|
||||
|
||||
bool WaveDecoder::seek(float s)
|
||||
bool WaveDecoder::seek(double s)
|
||||
{
|
||||
int wuff_status = wuff_seek(handle, (wuff_uint64) (s * info.sample_rate));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user