|
From: Johnny P. <ele...@us...> - 2004-04-23 14:28:42
|
Update of /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18843/MACOSX/Headers Modified Files: panda.h panda_drivers.h panda_h.h panda_modules.h variables.h Log Message: WIN32 and a lot of new things... Index: panda_drivers.h =================================================================== RCS file: /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers/panda_drivers.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** panda_drivers.h 15 Feb 2004 23:37:40 -0000 1.2 --- panda_drivers.h 23 Apr 2004 14:28:33 -0000 1.3 *************** *** 3,96 **** Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003, Giovanni Petrantoni. http://xpanda.sf.net/ panda_drivers.h - Panda drivers API ! Panda is under the terms of the Artistic License : ! ! The Artistic License ! ! Preamble ! ! The intent of this document is to state the conditions under which a Package may be copied, ! such that the Copyright Holder maintains some semblance of artistic control over the development of the package, ! while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, ! plus the right to make reasonable modifications. ! ! Definitions: ! ! "Package" refers to the collection of files distributed by the Copyright Holder, ! and derivatives of that collection of files created through textual modification. ! ! "Standard Version" refers to such a Package if it has not been modified, ! or has been modified in accordance with the wishes of the Copyright Holder. ! ! "Copyright Holder" is whoever is named in the copyright or copyrights for the package. ! ! "You" is you, if you're thinking about copying or distributing this Package. ! ! "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, ! time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, ! but only to the computing community at large as a market that must bear the fee.) ! ! "Freely Available" means that no fee is charged for the item itself, ! though there may be fees involved in handling the item. ! It also means that recipients of the item may redistribute it under the same conditions they received it. ! ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, ! provided that you duplicate all of the original copyright notices and associated disclaimers. ! ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. ! A Package modified in such a way shall still be considered the Standard Version. ! ! 3. You may otherwise modify your copy of this Package in any way, ! provided that you insert a prominent notice in each changed file stating how and when you changed that file, ! and provided that you do at least ONE of the following: ! ! a) place your modifications in the Public Domain or otherwise make them Freely Available, ! such as by posting said modifications to Usenet or an equivalent medium, ! or placing the modifications on a major archive site such as ftp.uu.net, ! or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. ! ! b) use the modified Package only within your corporation or organization. ! ! c) rename any non-standard executables so the names do not conflict with standard executables, ! which must also be provided, and provide a separate manual page for each non-standard executable ! that clearly documents how it differs from the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 4. You may distribute the programs of this Package in object code or executable form, ! provided that you do at least ONE of the following: ! ! a) distribute a Standard Version of the executables and library files, ! together with instructions (in the manual page or equivalent) on where to get the Standard Version. ! ! b) accompany the distribution with the machine-readable source of the Package with your modifications. ! ! c) accompany any non-standard executables with their corresponding Standard Version executables, ! giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), ! together with instructions on where to get the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 5. You may charge a reasonable copying fee for any distribution of this Package. ! You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. ! However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of ! a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically ! fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! ! 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. - 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, ! INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - The End. */ --- 3,30 ---- Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003 - 2004, Giovanni Petrantoni. http://xpanda.sf.net/ panda_drivers.h - Panda drivers API ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + elementicaotici - by Johnny (Giovanni) Petrantoni, ITALY - Rome. + e-mail: jo...@la... + */ Index: panda_h.h =================================================================== RCS file: /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers/panda_h.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** panda_h.h 2 Mar 2004 12:58:58 -0000 1.7 --- panda_h.h 23 Apr 2004 14:28:33 -0000 1.8 *************** *** 3,106 **** Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003, Giovanni Petrantoni. http://xpanda.sf.net/ panda_h.h - main internal header ! Panda is under the terms of the Artistic License : ! ! The Artistic License ! ! Preamble ! ! The intent of this document is to state the conditions under which a Package may be copied, ! such that the Copyright Holder maintains some semblance of artistic control over the development of the package, ! while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, ! plus the right to make reasonable modifications. ! ! Definitions: ! ! "Package" refers to the collection of files distributed by the Copyright Holder, ! and derivatives of that collection of files created through textual modification. ! ! "Standard Version" refers to such a Package if it has not been modified, ! or has been modified in accordance with the wishes of the Copyright Holder. ! ! "Copyright Holder" is whoever is named in the copyright or copyrights for the package. ! ! "You" is you, if you're thinking about copying or distributing this Package. ! ! "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, ! time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, ! but only to the computing community at large as a market that must bear the fee.) ! ! "Freely Available" means that no fee is charged for the item itself, ! though there may be fees involved in handling the item. ! It also means that recipients of the item may redistribute it under the same conditions they received it. ! ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, ! provided that you duplicate all of the original copyright notices and associated disclaimers. ! ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. ! A Package modified in such a way shall still be considered the Standard Version. ! ! 3. You may otherwise modify your copy of this Package in any way, ! provided that you insert a prominent notice in each changed file stating how and when you changed that file, ! and provided that you do at least ONE of the following: ! ! a) place your modifications in the Public Domain or otherwise make them Freely Available, ! such as by posting said modifications to Usenet or an equivalent medium, ! or placing the modifications on a major archive site such as ftp.uu.net, ! or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. ! ! b) use the modified Package only within your corporation or organization. ! ! c) rename any non-standard executables so the names do not conflict with standard executables, ! which must also be provided, and provide a separate manual page for each non-standard executable ! that clearly documents how it differs from the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 4. You may distribute the programs of this Package in object code or executable form, ! provided that you do at least ONE of the following: ! ! a) distribute a Standard Version of the executables and library files, ! together with instructions (in the manual page or equivalent) on where to get the Standard Version. ! ! b) accompany the distribution with the machine-readable source of the Package with your modifications. ! ! c) accompany any non-standard executables with their corresponding Standard Version executables, ! giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), ! together with instructions on where to get the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 5. You may charge a reasonable copying fee for any distribution of this Package. ! You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. ! However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of ! a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically ! fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! ! 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. - 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, ! INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - The End. */ #include <stdio.h> ! #ifndef __LINUX__ #include <CoreFoundation/CoreFoundation.h> ! #else #define TRUE 1 #define FALSE 0 #endif - #define DEBUG 1 enum { //Variable types, (varType); --- 3,46 ---- Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003 - 2004, Giovanni Petrantoni. http://xpanda.sf.net/ panda_h.h - main internal header ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + elementicaotici - by Johnny (Giovanni) Petrantoni, ITALY - Rome. + e-mail: jo...@la... + */ #include <stdio.h> ! #ifdef __APPLE__ #include <CoreFoundation/CoreFoundation.h> ! #elif __WIN32__ ! #include <windows.h> ! #endif ! ! #ifndef TRUE #define TRUE 1 + #endif + + #ifndef FALSE #define FALSE 0 #endif enum { //Variable types, (varType); *************** *** 147,151 **** typedef struct _parametersList { TYPE moduleType; ! int manyMethods; int outlets; int inlets; --- 87,91 ---- typedef struct _parametersList { TYPE moduleType; ! int subType; int outlets; int inlets; *************** *** 163,167 **** --- 103,113 ---- }DriverParamList; + #ifndef __WIN32__ typedef void * (*ThreadFunctionPtr)(void *x); + #else + typedef unsigned long (WINAPI *ThreadFunctionPtr)(void*); + #endif + + typedef void (*HELPPtr)(void); typedef struct metodi { *************** *** 202,211 **** int GetDeviceInputChannels(); int GetDeviceOutputChannels(); ! #ifndef __LINUX__ CFBundleRef GetModuleBundleFromID(int ID); #else ! extern void * GetModuleBundleFromID(int ID); #endif ! extern char * GetModuleResourcesPath(int ID); void * GetModuleVoidPtr(int ID); void PandaLog(char *fmt,...); --- 148,157 ---- int GetDeviceInputChannels(); int GetDeviceOutputChannels(); ! #ifdef __APPLE__ CFBundleRef GetModuleBundleFromID(int ID); #else ! void * GetModuleBundleFromID(int ID); #endif ! char * GetModuleResourcesPath(int ID); void * GetModuleVoidPtr(int ID); void PandaLog(char *fmt,...); *************** *** 216,222 **** float **GetPluginDACBuffers(char *istanceName); P_BOOL GetPluginAudioConfiguration(char *istanceName,float *outSR,long *outBSize,int *outInCh,int *outOutCh); - void changeDefaultModDirAndExt(char *modulesNewDir,char *modulesNewExt); int addThread(void *callerData,ThreadFunctionPtr ThreadFunction); void removeThread(int ThreadReference); void doPandaRender(long nframes); void setDAC(float **buffers); --- 162,168 ---- float **GetPluginDACBuffers(char *istanceName); P_BOOL GetPluginAudioConfiguration(char *istanceName,float *outSR,long *outBSize,int *outInCh,int *outOutCh); int addThread(void *callerData,ThreadFunctionPtr ThreadFunction); void removeThread(int ThreadReference); + int changeThreadPriority(int ThreadReference,int priority); void doPandaRender(long nframes); void setDAC(float **buffers); Index: panda_modules.h =================================================================== RCS file: /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers/panda_modules.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** panda_modules.h 2 Mar 2004 12:58:58 -0000 1.5 --- panda_modules.h 23 Apr 2004 14:28:33 -0000 1.6 *************** *** 3,102 **** Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003, Giovanni Petrantoni. http://xpanda.sf.net/ panda_modules.h - Panda modules API ! Panda is under the terms of the Artistic License : ! ! The Artistic License ! ! Preamble ! ! The intent of this document is to state the conditions under which a Package may be copied, ! such that the Copyright Holder maintains some semblance of artistic control over the development of the package, ! while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, ! plus the right to make reasonable modifications. ! ! Definitions: ! ! "Package" refers to the collection of files distributed by the Copyright Holder, ! and derivatives of that collection of files created through textual modification. ! ! "Standard Version" refers to such a Package if it has not been modified, ! or has been modified in accordance with the wishes of the Copyright Holder. ! ! "Copyright Holder" is whoever is named in the copyright or copyrights for the package. ! ! "You" is you, if you're thinking about copying or distributing this Package. ! ! "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, ! time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, ! but only to the computing community at large as a market that must bear the fee.) ! ! "Freely Available" means that no fee is charged for the item itself, ! though there may be fees involved in handling the item. ! It also means that recipients of the item may redistribute it under the same conditions they received it. ! ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, ! provided that you duplicate all of the original copyright notices and associated disclaimers. ! ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. ! A Package modified in such a way shall still be considered the Standard Version. ! ! 3. You may otherwise modify your copy of this Package in any way, ! provided that you insert a prominent notice in each changed file stating how and when you changed that file, ! and provided that you do at least ONE of the following: ! ! a) place your modifications in the Public Domain or otherwise make them Freely Available, ! such as by posting said modifications to Usenet or an equivalent medium, ! or placing the modifications on a major archive site such as ftp.uu.net, ! or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. ! ! b) use the modified Package only within your corporation or organization. ! ! c) rename any non-standard executables so the names do not conflict with standard executables, ! which must also be provided, and provide a separate manual page for each non-standard executable ! that clearly documents how it differs from the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 4. You may distribute the programs of this Package in object code or executable form, ! provided that you do at least ONE of the following: ! ! a) distribute a Standard Version of the executables and library files, ! together with instructions (in the manual page or equivalent) on where to get the Standard Version. ! ! b) accompany the distribution with the machine-readable source of the Package with your modifications. ! ! c) accompany any non-standard executables with their corresponding Standard Version executables, ! giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), ! together with instructions on where to get the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 5. You may charge a reasonable copying fee for any distribution of this Package. ! You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. ! However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of ! a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically ! fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! ! 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. - 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, ! INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - The End. */ #include <stdio.h> ! #ifndef __LINUX__ #include <CoreFoundation/CoreFoundation.h> #endif --- 3,38 ---- Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003 - 2004, Giovanni Petrantoni. http://xpanda.sf.net/ panda_modules.h - Panda modules API ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + elementicaotici - by Johnny (Giovanni) Petrantoni, ITALY - Rome. + e-mail: jo...@la... + */ #include <stdio.h> ! #ifdef __APPLE__ #include <CoreFoundation/CoreFoundation.h> + #elif __WIN32__ + #include <windows.h> #endif *************** *** 115,118 **** --- 51,55 ---- typedef unsigned char P_BOOL; typedef unsigned char P_BYTE; + typedef int P_ID; //module ID type (please use this type in your modules, because int will be changed to UInt32) typedef struct _inletBuf { *************** *** 132,136 **** --- 69,81 ---- typedef int TYPE; + #ifndef __WIN32__ typedef void * (*ThreadFunctionPtr)(void *x); + #define PANDA_THREAD void * + #define PANDA_THREAD_RETURN return NULL + #else + typedef unsigned long (WINAPI *ThreadFunctionPtr)(void*); + #define PANDA_THREAD unsigned long WINAPI + #define PANDA_THREAD_RETURN return 0 + #endif struct __myObjData; //this is your data structure (YOU MUST DEFINE IT) *************** *** 167,171 **** extern int GetDeviceInputChannels(void); extern int GetDeviceOutputChannels(void); ! #ifndef __LINUX__ extern CFBundleRef GetModuleBundleFromID(int ID); #else --- 112,116 ---- extern int GetDeviceInputChannels(void); extern int GetDeviceOutputChannels(void); ! #ifdef __APPLE__ extern CFBundleRef GetModuleBundleFromID(int ID); #else *************** *** 190,193 **** --- 135,139 ---- int addThread(void *callerData,ThreadFunctionPtr ThreadFunction); //Round-robin thread with priority 62. void removeThread(int ThreadReference); //You must exit from the thread function before to call this. + int changeThreadPriority(int ThreadReference,int priority); #ifdef __cplusplus *************** *** 201,204 **** --- 147,151 ---- MyData * HelloPanda (int *err,int MODULE_ID,int argc,char **argv); + void ShowHelp(void); void InletCallback (MyData *x,int inlet, Var *inValues); float ** AllocInlets (MyData *x,long bufferSize, int *manyBuffers); Index: panda.h =================================================================== RCS file: /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers/panda.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** panda.h 15 Feb 2004 23:01:38 -0000 1.4 --- panda.h 23 Apr 2004 14:28:33 -0000 1.5 *************** *** 3,96 **** Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003, Giovanni Petrantoni. http://xpanda.sf.net/ panda.h - Panda API ! Panda is under the terms of the Artistic License : ! ! The Artistic License ! ! Preamble ! ! The intent of this document is to state the conditions under which a Package may be copied, ! such that the Copyright Holder maintains some semblance of artistic control over the development of the package, ! while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, ! plus the right to make reasonable modifications. ! ! Definitions: ! ! "Package" refers to the collection of files distributed by the Copyright Holder, ! and derivatives of that collection of files created through textual modification. ! ! "Standard Version" refers to such a Package if it has not been modified, ! or has been modified in accordance with the wishes of the Copyright Holder. ! ! "Copyright Holder" is whoever is named in the copyright or copyrights for the package. ! ! "You" is you, if you're thinking about copying or distributing this Package. ! ! "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, ! time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, ! but only to the computing community at large as a market that must bear the fee.) ! ! "Freely Available" means that no fee is charged for the item itself, ! though there may be fees involved in handling the item. ! It also means that recipients of the item may redistribute it under the same conditions they received it. ! ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, ! provided that you duplicate all of the original copyright notices and associated disclaimers. ! ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. ! A Package modified in such a way shall still be considered the Standard Version. ! ! 3. You may otherwise modify your copy of this Package in any way, ! provided that you insert a prominent notice in each changed file stating how and when you changed that file, ! and provided that you do at least ONE of the following: ! ! a) place your modifications in the Public Domain or otherwise make them Freely Available, ! such as by posting said modifications to Usenet or an equivalent medium, ! or placing the modifications on a major archive site such as ftp.uu.net, ! or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. ! ! b) use the modified Package only within your corporation or organization. ! ! c) rename any non-standard executables so the names do not conflict with standard executables, ! which must also be provided, and provide a separate manual page for each non-standard executable ! that clearly documents how it differs from the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 4. You may distribute the programs of this Package in object code or executable form, ! provided that you do at least ONE of the following: ! ! a) distribute a Standard Version of the executables and library files, ! together with instructions (in the manual page or equivalent) on where to get the Standard Version. ! ! b) accompany the distribution with the machine-readable source of the Package with your modifications. ! ! c) accompany any non-standard executables with their corresponding Standard Version executables, ! giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), ! together with instructions on where to get the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 5. You may charge a reasonable copying fee for any distribution of this Package. ! You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. ! However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of ! a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically ! fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! ! 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. - 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, ! INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - The End. */ --- 3,30 ---- Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003 - 2004, Giovanni Petrantoni. http://xpanda.sf.net/ panda.h - Panda API ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + elementicaotici - by Johnny (Giovanni) Petrantoni, ITALY - Rome. + e-mail: jo...@la... + */ *************** *** 112,115 **** --- 46,51 ---- void HELP(int ID); + void HELPME(char *moduleName); + void ExecuteMethod(int ID,int inlet,void *VAR); *************** *** 138,144 **** int AudioEngineSelect(char *audioEngineName); ! int AudioEngineSetParameter(int parameter,Var *inValues); ! int AudioEngineGetParameter(int parameter,Var *outValues); DriverParamList AudioEngineGetParametersList(); --- 74,80 ---- int AudioEngineSelect(char *audioEngineName); ! int AudioEngineSetParameter(int parameter,void *inValues); ! int AudioEngineGetParameter(int parameter,void *outValues); DriverParamList AudioEngineGetParametersList(); Index: variables.h =================================================================== RCS file: /cvsroot/xpanda/Panda/Framework-Library/MACOSX/Headers/variables.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** variables.h 17 Dec 2003 00:52:46 -0000 1.1.1.1 --- variables.h 23 Apr 2004 14:28:33 -0000 1.2 *************** *** 3,96 **** Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003, Giovanni Petrantoni. http://xpanda.sf.net/ variables.h - Panda variables utilities ! Panda is under the terms of the Artistic License : ! ! The Artistic License ! ! Preamble ! ! The intent of this document is to state the conditions under which a Package may be copied, ! such that the Copyright Holder maintains some semblance of artistic control over the development of the package, ! while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, ! plus the right to make reasonable modifications. ! ! Definitions: ! ! "Package" refers to the collection of files distributed by the Copyright Holder, ! and derivatives of that collection of files created through textual modification. ! ! "Standard Version" refers to such a Package if it has not been modified, ! or has been modified in accordance with the wishes of the Copyright Holder. ! ! "Copyright Holder" is whoever is named in the copyright or copyrights for the package. ! ! "You" is you, if you're thinking about copying or distributing this Package. ! ! "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, ! time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, ! but only to the computing community at large as a market that must bear the fee.) ! ! "Freely Available" means that no fee is charged for the item itself, ! though there may be fees involved in handling the item. ! It also means that recipients of the item may redistribute it under the same conditions they received it. ! ! 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, ! provided that you duplicate all of the original copyright notices and associated disclaimers. ! ! 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. ! A Package modified in such a way shall still be considered the Standard Version. ! ! 3. You may otherwise modify your copy of this Package in any way, ! provided that you insert a prominent notice in each changed file stating how and when you changed that file, ! and provided that you do at least ONE of the following: ! ! a) place your modifications in the Public Domain or otherwise make them Freely Available, ! such as by posting said modifications to Usenet or an equivalent medium, ! or placing the modifications on a major archive site such as ftp.uu.net, ! or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. ! ! b) use the modified Package only within your corporation or organization. ! ! c) rename any non-standard executables so the names do not conflict with standard executables, ! which must also be provided, and provide a separate manual page for each non-standard executable ! that clearly documents how it differs from the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 4. You may distribute the programs of this Package in object code or executable form, ! provided that you do at least ONE of the following: ! ! a) distribute a Standard Version of the executables and library files, ! together with instructions (in the manual page or equivalent) on where to get the Standard Version. ! ! b) accompany the distribution with the machine-readable source of the Package with your modifications. ! ! c) accompany any non-standard executables with their corresponding Standard Version executables, ! giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), ! together with instructions on where to get the Standard Version. ! ! d) make other distribution arrangements with the Copyright Holder. ! ! 5. You may charge a reasonable copying fee for any distribution of this Package. ! You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. ! However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of ! a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. ! ! 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically ! fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. ! ! 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. - 8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. ! 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, ! INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - The End. */ --- 3,30 ---- Panda - A modular programming language. written by Giovanni Petrantoni. ! Copyright (c) 2003 - 2004, Giovanni Petrantoni. http://xpanda.sf.net/ variables.h - Panda variables utilities ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either ! version 2.1 of the License, or (at your option) any later version. ! This library is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + elementicaotici - by Johnny (Giovanni) Petrantoni, ITALY - Rome. + e-mail: jo...@la... + */ |