Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] CPOF - Array of ftables

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
To access members of the CSOUND struct, use

/** Access to the base CSOUND object
   */
  CSOUND *get_csound() {
    return this;
  }


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 23 Jun 2024, at 16:02, Pierre Clisson <[email protected]> wrote:
> 
> Hi again :)
> 
> I'm trying to design an opcode that accepts an array of ftables, access these tables individually, and iterate over them. But it seems that I can't use FTFind().
> 
> My code looks like this:
> 
> csnd::Vector<MYFLT> &arr = inargs.vector_data<MYFLT>(1);
> FUNC *ftp = csound->FTFind(csound, &arr[0]);
> 
> And the error I get is:
> 
> error: 'FTFind' is a private member of 'CSOUND_'
> 
> What would be the correct way to achieve that? Sorry if this is a dumb question, I'm just starting looking into plugin development, and I'm unsure about the best practices.
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.