mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 02:36:27 +00:00
PINK: remove using Timestamp. It doesn't work as intended.
This commit is contained in:
parent
50bed2d544
commit
ab44490673
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user