PINK: remove using Timestamp. It doesn't work as intended.

This commit is contained in:
Andrei Prykhodko 2018-06-23 16:24:54 +03:00 committed by Eugene Sandulenko
parent 50bed2d544
commit ab44490673

View File

@ -46,7 +46,7 @@ public:
void pause(bool paused) { g_system->getMixer()->pauseHandle(_handle, paused); }
uint32 getCurrentSample() { return g_system->getMixer()->getElapsedTime(_handle).totalNumberOfFrames(); }
uint64 getCurrentSample() { return (uint64)g_system->getMixer()->getElapsedTime(_handle).msecs() * 22050 / 1000; }
private:
Audio::SoundHandle _handle;