Fixed. Stephane
> Le 12 mars 2017 à 03:20, dirk mueller <dirkm...@users.sf.net> a écrit : > > Hello, > I have since the Update this days a lot NSString and zone Issues and > seen the DSP Class was changed to UI and think there are the Failure > under Xcode and Generating a Juice Plugin > Please have a look on a Compiled with 2.0a56 here > > #ifndef __dsp__ > #define __dsp__ > > #include <string> > > #ifndef FAUSTFLOAT > #define FAUSTFLOAT float > #endif > > class UI; > struct Meta; > > /** > * Signal processor definition. > */ > > class dsp { > > public: > > dsp() {} > virtual ~dsp() {} > > /* Return instance number of audio inputs */ > virtual int getNumInputs() = 0; > > /* Return instance number of audio outputs */ > virtual int getNumOutputs() = 0; > > /** > * Trigger the UI* parameter with instance specific calls > * to 'addBtton', 'addVerticalSlider'... in order to build the > UI. > * > * @param ui_interface - the UI* user interface builder > */ > virtual void buildUserInterface(UI* ui_interface) = 0; > > /* Returns the sample rate currently used by the instance */ > virtual int getSampleRate() = 0; > > /** Global init, calls the following methods : > * - static class 'classInit' : static table initialisation > * - 'instanceInit' : constants and instance table > initialisation > * > * @param samplingRate - the sampling rate in Herz > */ > virtual void init(int samplingRate) = 0; > > /** Init instance state > * > * @param samplingRate - the sampling rate in Herz > */ > virtual void instanceInit(int samplingRate) = 0; > > At next the 2.0a57 > > #ifndef FAUST_UI_H > #define FAUST_UI_H > > #ifndef FAUSTFLOAT > #define FAUSTFLOAT float > #endif > > /******************************************************************************* > * UI : Faust User Interface > * This abstract class contains only the method that the faust compiler > can > * generate to describe a DSP interface. > > ******************************************************************************/ > > class UI > { > > public: > > UI() {} > > virtual ~UI() {} > > // -- widget's layouts > > virtual void openTabBox(const char* label) = 0; > virtual void openHorizontalBox(const char* label) = 0; > virtual void openVerticalBox(const char* label) = 0; > virtual void closeBox() = 0; > > // -- active widgets > > virtual void addButton(const char* label, FAUSTFLOAT* zone) = 0; > virtual void addCheckButton(const char* label, FAUSTFLOAT* zone) > = 0; > virtual void addVerticalSlider(const char* label, FAUSTFLOAT* > zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) > = 0; > virtual void addHorizontalSlider(const char* label, FAUSTFLOAT* > zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) > = 0; > virtual void addNumEntry(const char* label, FAUSTFLOAT* zone, > FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step) = 0; > > // -- passive widgets > > virtual void addHorizontalBargraph(const char* label, > FAUSTFLOAT* zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0; > virtual void addVerticalBargraph(const char* label, FAUSTFLOAT* > zone, FAUSTFLOAT min, FAUSTFLOAT max) = 0; > > // -- metadata declarations > > virtual void declare(FAUSTFLOAT*, const char*, const char*) {} > }; > > Best regards Dirk Mueller > > > --- > > [Issue on Faustlive new Compiler > 2.0a57](https://sourceforge.net/p/faudiostream/discussion/347045/thread/b1614854/?limit=25#ebde) > > > --- > > Sent from sourceforge.net because you indicated interest in > <https://sourceforge.net/p/faudiostream/discussion/347045/> > > > > To unsubscribe from further messages, please visit > <https://sourceforge.net/auth/subscriptions/> ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users