Csound Csound-dev Csound-tekno Search About

[Cs-dev] Serial opcodes

Date2011-10-17 09:09
FromFrancois PINOT
Subject[Cs-dev] Serial opcodes
AttachmentsNone  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

Date2011-10-17 09:32
FromFrancois PINOT
SubjectRe: [Cs-dev] Serial opcodes
AttachmentsNone  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,

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


Date2011-10-17 10:37
Fromjpff@cs.bath.ac.uk
SubjectRe: [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