So I have cross compiled the FFTW library to a .so for use in an Android title I’m currently working on. I would like to link this to additional C++ code that will interface with my C# scripts in Unity and call the library to do some DSP. Is it possible to link the compiled .so with the new C++ interface code I am writing or will I have to write that code to use the FFTW library source and recompile everything as one .so when I am finished? I really can’t have the FFTW library interface directly with C# because I plan to do multiple function calls in the same frame (DSPing an entire song) so I don’t want to have that many native calls as I assume that’s pretty slow.
If there is a better solution to this that I’m missing or anyone has any experience with including open source libraries in Unity plugins in general I would love to hear what you have to say. I’m not very experienced at Android dev so this is all a bit confusing to me.
Thanks.