Fix AudioPlayer.play() bug when music always starts from 0 pos
This commit is contained in:
parent
8ee991a2a7
commit
0edc3d7208
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue