Displaying 1 result from an estimated 1 matches for "_mix_frames_vorbis".
2023 Aug 27
0
Looping issues in ogg vorbis in Godot 4 engine
...g,
seeking, mixing of ogg vorbis files (excluding the minimp3 folder).
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...