by Chris » Sat Nov 19, 2022 7:17 pm
Marisa the Magician wrote: ↑Sat Nov 19, 2022 10:34 am
On my side I do have a different issue, where the music starts, and then very shortly after, the startup screen begins rendering AND the music starts over. Only seems to happen with some music formats, though.
That sounds like the engine starts music playback, then something blocks the music thread from running for a moment (long enough for the starting buffer queue to drain/underrun), before it's able to show the start screen when allowing the music thread to update again and restart the audio stream. I could see that happen if you don't have many cores, and the game tries to upload a lot of data to the GPU, or do some other heavy task the prevent user threads from running.
Or maybe something starts the music initially, stops it while preparing data, then starts it again when showing the startup screen. Some formats (like MIDI with a large soundfont) can take a bit of time to load and (re)start, especially on older systems without an SSD.
[quote="Marisa the Magician" post_id=1232402 time=1668875697 user_id=3048]
On my side I do have a different issue, where the music starts, and then very shortly after, the startup screen begins rendering AND the music starts over. Only seems to happen with some music formats, though.
[/quote]
That sounds like the engine starts music playback, then something blocks the music thread from running for a moment (long enough for the starting buffer queue to drain/underrun), before it's able to show the start screen when allowing the music thread to update again and restart the audio stream. I could see that happen if you don't have many cores, and the game tries to upload a lot of data to the GPU, or do some other heavy task the prevent user threads from running.
Or maybe something starts the music initially, stops it while preparing data, then starts it again when showing the startup screen. Some formats (like MIDI with a large soundfont) can take a bit of time to load and (re)start, especially on older systems without an SSD.