mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +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:
@@ -90,11 +90,11 @@ float Source::getVolume() const
|
||||
return volume;
|
||||
}
|
||||
|
||||
void Source::seek(float, Source::Unit)
|
||||
void Source::seek(double, Source::Unit)
|
||||
{
|
||||
}
|
||||
|
||||
float Source::tell(Source::Unit)
|
||||
double Source::tell(Source::Unit)
|
||||
{
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user