[Cs-dev] Serial opcodes
Date | 2011-10-17 09:09 |
From | Francois PINOT |
Subject | [Cs-dev] Serial opcodes |
Attachments | None None |
Hello John, the serial opcodes are not displayed when using the csound -z command. Running your mkdb utility on my plugins64 directory, I get this message: No csound_opcode_init in /usr/local/lib/csound/plugins64//libserial.so When declaring an opcode in the OENTRY array of a plugin file, is the sixth entry of each opcode (init-time function) mandatory? Looking in the serial.c file, only serialBegin and serialWrite_i have an init-time function declared. Moreover, line 12 is #include "csound.h". I thought that this header file was reserved for API calls. Am I right? Regards François |
Date | 2011-10-17 09:32 |
From | Francois PINOT |
Subject | Re: [Cs-dev] Serial opcodes |
Attachments | None None |
I answer to myself: adding the LINKAGE macro at the end of serial.c solves the problem. François 2011/10/17 Francois PINOT <fggpinot@gmail.com> Hello John, |
Date | 2011-10-17 10:37 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Serial opcodes |
mea culpa -- the "LINKAGE" got lost Also the manual pages are very minimal; they really need revision > Hello John, > > the serial opcodes are not displayed when using the csound -z command. > Running your mkdb utility on my plugins64 directory, I get this message: > No > csound_opcode_init in /usr/local/lib/csound/plugins64//libserial.so > > When declaring an opcode in the OENTRY array of a plugin file, is the > sixth > entry of each opcode (init-time function) mandatory? Looking in the > serial.c > file, only serialBegin and serialWrite_i have an init-time function > declared. > > Moreover, line 12 is #include "csound.h". I thought that this header file > was reserved for API calls. Am I right? > > Regards > > François > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct_______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |