Tanks,

I’ve just added an -ios parameter to faust2unity on master-dev branch.

https://github.com/grame-cncm/faust/commit/3cf67f894ec147fb5f16e876b0b7865140bc6031

that produces a libaudiopluginFOO.a static library for a given FOO.dsp  file.

Can you test and report ?

Thanks

Stéphane 

> Le 5 mai 2017 à 07:58, Juan Cristóbal Cerrillo <jccerri...@gmail.com> a écrit 
> :
> 
> Hello Stéphane,
> 
> I used the cpp generated by this line in the faust2unity script
> faust -i -a ./unity.cpp "$SRCDIR/$NAME.dsp" -o "$MOS/$NAME.cpp”
> but I had to extract the parts that originally came from Unity’s SDK 
> AudioPluginInterface.h and create a header file.
> This file is needed when building for iOS in Unity since the plugins must be 
> registered before the main application launches.
> It has to be manually included in UnityAppController.mm and the method 
> preStartUnity must be modified thus:
> - (void)preStartUnity{
>    UnityRegisterAudioPlugin(&UnityGetAudioEffectDefinitions);
> }
> 
> Here is the Xcode project that I used to compile the static library and the 
> bundle.
> The library name must begin with the string ”audioplugin” (case sensitive).
> 
> I can also send you the Unity project if you’d be interested.
> 
> All best,
> 
> Juan Cristóbal
> 
> 
> <audiopluginCuerdasFaustiOS.zip>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to