mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Simplify Source playback offset tracking to only store the integer sample offset, and convert to seconds when requested.
This commit is contained in:
@@ -213,8 +213,7 @@ private:
|
||||
float outerHighGain = 1.0f;
|
||||
} cone;
|
||||
|
||||
float offsetSamples = 0.0f;
|
||||
float offsetSeconds = 0.0f;
|
||||
int offsetSamples = 0;
|
||||
|
||||
int sampleRate = 0;
|
||||
int channels = 0;
|
||||
|
||||
Reference in New Issue
Block a user