On Sun, 7 Dec 2025 23:21:15 +0100 ichthyo <[email protected]> wrote:
>> On 05/11/2025 17:51, Will Godfrey wrote: >>> It's proving to be surprisingly difficult, and could take some time :( >On 06/11/2025 22:06, ichthyo wrote: >> The code of the UI is quite large, and so I am asking myself >> what would be a good approach to strip it down, >> without requiring a massive amount of work on our side. > > >oh well ... in the end this was quite a chainsaw massacre non the less... > >Probably this is just a remainder that Yoshimi is a *massive* >and very *complicated* piece of software.... > > >However, the approach to remove all callbacks was a good start, >because otherwise I would have missed the forest for the trees... > >Basically I first removed all immediate child windows, and then >all secondary UI elements. And in a last step, I was finally able >to eliminate the SynthEngine* and any reference to InterChange. > > >So now I have in my 'stripdown' branch a /disembowelled/ version >of Yoshimi, which just starts the main window directly from the >first thread in main(). > >Furthermore, I was able to stub out the entire SynthEngine, >and just retain a bunch of empty functions, which are necessary >to get the remainder of the GUI through the linker. > >This has also the nice effect, that this version could now >be built without ALSA, Jack, FFTW and MXML. > > >And yes, it still crashes with Wayland. > > >Thus we're now at the point where the actual "experiments" could start... > >-- Hermann This quite astonishing, and no surprise now that I was having such a hard time trying to strip it down myself. At least it demonstrates that it's not being caused by some of the more complex changes that have been made to the code in recent years. -- Will J Godfrey _______________________________________________ Yoshimi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yoshimi-devel
