On Sat, Mar 28, 2009 at 11:39 AM, Ken Restivo <ken@email-addr-hidden> wrote:
> When a LADSPA plugin is being sent zeroes-- i.e. when the volume of the input data is down to nothing-- is it still sucking up CPU cycles?
>
> I understand from the JACK API that anytime a client gets a callback with data, it has to drop down and deal with the data and then return, even if the data is zero. But that could be lightweight, if the data are zero, or is that very compute-intensive for the plugin?
>
> I'm trying to build an outboard effects chain in various LADSPA hosts (JACK Rack, ecasound, AMS, others... haven't settled on one yet), and when I've got that plugin's volume MIDI'ed down to zero, I'd like it to not be dominating CPU cycles at that time.
JACK does not provide "port is silent" information. a JACK client
cannot know (without inspecting it) that the data available is all
silence. notice that silence does not imply that every sample is zero,
but zero-valued buffers do imply silence.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Mar 29 00:15:02 2009
This archive was generated by hypermail 2.1.8 : Sun Mar 29 2009 - 00:15:02 EET