summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Conrad <aconrad103@gmail.com>2015-08-03 11:41:50 -0500
committerAndy Conrad <aconrad103@gmail.com>2015-08-03 11:41:50 -0500
commitd110260c1e5ab076051e37603b93e4f52316ee03 (patch)
treeed5cd414921f720be9737b6325729d7654cb5791 /drivers
parentcbee679bd78c1b3317db1ea4e349f278576304a1 (diff)
Fix vorbis seek_pos
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vorbis/audio_stream_ogg_vorbis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vorbis/audio_stream_ogg_vorbis.cpp b/drivers/vorbis/audio_stream_ogg_vorbis.cpp
index ed292621e9..249059e2c1 100644
--- a/drivers/vorbis/audio_stream_ogg_vorbis.cpp
+++ b/drivers/vorbis/audio_stream_ogg_vorbis.cpp
@@ -232,7 +232,7 @@ void AudioStreamOGGVorbis::seek_pos(float p_time) {
if (!playing)
return;
- bool ok = ov_time_seek(&vf,p_time*1000)==0;
+ bool ok = ov_time_seek(&vf,p_time)==0;
ERR_FAIL_COND(!ok);
frames_mixed=stream_srate*p_time;
}