Fix AudioPlayer.play() bug when music always starts from 0 pos
This commit is contained in:
parent
8ee991a2a7
commit
0edc3d7208
|
@ -66,8 +66,8 @@ float AudioStreamPlaybackOGGVorbis::get_stream_sampling_rate() {
|
|||
|
||||
void AudioStreamPlaybackOGGVorbis::start(float p_from_pos) {
|
||||
|
||||
seek_pos(p_from_pos);
|
||||
active = true;
|
||||
seek_pos(p_from_pos);
|
||||
loops = 0;
|
||||
_begin_resample();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue