mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 19:12:24 -05:00
Fix vorbis seek_pos
This commit is contained in:
parent
cbee679bd7
commit
d110260c1e
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ void AudioStreamOGGVorbis::seek_pos(float p_time) {
|
||||||
|
|
||||||
if (!playing)
|
if (!playing)
|
||||||
return;
|
return;
|
||||||
bool ok = ov_time_seek(&vf,p_time*1000)==0;
|
bool ok = ov_time_seek(&vf,p_time)==0;
|
||||||
ERR_FAIL_COND(!ok);
|
ERR_FAIL_COND(!ok);
|
||||||
frames_mixed=stream_srate*p_time;
|
frames_mixed=stream_srate*p_time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue