[linux-audio-dev] LADSPA: getting sample rate

Artemio artemio at kdemail.net
Mon Jul 11 12:43:50 UTC 2005


> You have to initialise the value in MyPlugin when you
> create that struct inside instantiate().
Thanks, Fons!

I have:

LADSPA_Handle instantiateMyPlugin(const LADSPA_Descriptor * 
Descriptor, unsigned long SampleRate) {

	return malloc(sizeof(MyPlugin));
	
}

...

What to add here?... I am confused :-/



More information about the Linux-audio-dev mailing list