On Sat, 7 Sep 2024 03:51:20 +0200 ichthyo <p...@ichthyostega.de> wrote:
"yoshimi was not finished" and "after the start-up message"...
this may give us a lead. Because, what is new now with the reworked
start-up sequence is the post-boot-hook.
...
So I thought, "I can fix at least this here" and I put the loading of the
banks and the history in the post-boot-hook. Seemingly this takes too
long, so that the current buffer cycles were missed. If I just comment out
the history / bank loading, the xruns are gone.
Will, can you try this in your setup too?
On 07.09.24 09:51, Will Godfrey wrote:
Yes! That's it. The reason I was getting more Xruns was simply because I have
quite a lot of banks installed
Maybe this even is the reason why Carla does not output sound?
In its current shape, Yoshimi fails to complete the presumably
very first sound cycles on time.
Anyway, now we have to figure out a better solution.
Ideally this should not re-introduce the dangerous cross-thread data access.
Is it possible to load the history and the banks /after/ initialising
but /before/ starting the engine?
Because the MusicClient::start() will actually prompt the sound backend
either to start the processing threads, or (if the backend uses existing
worker threads) it will cause the client to do some thread synchronisation
to make changes from the initialising thread visible to the processing threads.
I will try that out...
-- Hermann
_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel