search for: have_samples_left

Displaying 1 result from an estimated 1 matches for "have_samples_left".

2023 Aug 27
0
Looping issues in ogg vorbis in Godot 4 engine
...Some notes to orient yourself more quickly: * In audio_stream_ogg_vorbis.cpp, we delay the looping/seeking until all frames from `vorbis_synthesis_pcmout` are consumed using the last if-clause in `AudioStreamPlaybackOggVorbis::_mix_frames_vorbis`. Only then is `if (!have_packets_left && !have_samples_left)` true. * So the problem is most likely in `AudioStreamPlaybackOggVorbis::seek` (audio_stream_ogg_vorbis.cpp) Side note: The PR author has been informed about the double calling of `vorbis_synthesis_restart` & Co. in lines 317-327. Any help would be greatly appreciated! Cheers!