| Got it, thanks!
Victor Lazzarini wrote on 23/06/2024 21:28:
> 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 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 &arr = inargs.vector_data(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.
>>
>>
|