After a lot of experiments I think I understand how scan system and after instantiate a plugin on desktop version! thank you to all again!
Now my problem is on iOS (my app in fact is for mobile not for desktop, I start with desktop experiments to understand how the logic is).
Applying the same procedure that I use in desktop are founded only apple plugins (as I posted here: Unable to find AU3 on ipad?) and, thinking that the problem is that AU3s are treated asyncronously (tell me if I’m wrong please), I spend a lot of time trying to understand how work with ThreadPool and ThreadPoolJob to scan AU3 (I clone for example for some experiment AUScanner struct of AudioPluginHost), but results confusing me… I don’t know when the scanner finish his work to log the AU3s founded and some time some plugins are not founded (unfortunately I don’t undesrtand the logics of this).
Moreover, when some plugins are founded and I try to instantiate them if I call “createPluginInstance” method and print the error string the log say that the description of plugin doesn’t correspond to any plugin and calling “createPluginInstanceAsync” method, sometimes it fails in the same way (log say that the description of plugin doesn’t correspond to any plugin) and when it doesn’t fail my app seems to block waiting for something (for example I have 2 textButton and at this time I can’t see them anymore while all screen becomes grey)…
Please help me, this is really out of my current abilities…
Thank you again!
