Correct way to bypass rendering
Hi,
I'm writing a effect plugin that doesn't need to render anything.
What is the correct way to bypass or pass-through in a render or audio_render function?
Just returning PF-Err-NONE nulls the output. I need the output to be the input.
Until now I've been setting the PF_OutFlag_AUDIO_EFFECT_ONLY flag, which avoided the problem on non-audio layers. But now I'd like to be able to add the effect to audio layers too.
Do I need to copy the input to the output manually, or is there a flag I'm missing somewhere?
Thanks in advance.
