From bb072a66a0820e4f55f0c1bdca26a5ed19dd3d11 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 6 Oct 2018 23:59:10 +0300 Subject: [PATCH] Fix ogg seek when tremor is used. (from 2.0 branch commit e795460706d0). --- music_ogg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_ogg.c b/music_ogg.c index 18a094b2..ab0bc785 100644 --- a/music_ogg.c +++ b/music_ogg.c @@ -225,7 +225,7 @@ void OGG_delete(OGG_music *music) void OGG_jump_to_time(OGG_music *music, double time) { #ifdef OGG_USE_TREMOR - vorbis.ov_time_seek( &music->vf, (ogg_int64_t)time ); + vorbis.ov_time_seek( &music->vf, (ogg_int64_t)(time * 1000.0) ); #else vorbis.ov_time_seek( &music->vf, time ); #endif