Re: [linux-audio-dev] LADSPA::runAdding()

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] LADSPA::runAdding()
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: Sat Apr 01 2000 - 18:44:11 EEST


>Unfortunately what is suggested so far for various alternatives involves
>that the host has to be rewritten each time something new comes up.
>I don't like that trend. It means a lot of maintenance work if one wants
>to use new features.

"preroll" and "postroll" are extremely difficult to implement in a
generic way.

>>I said "what happens if I turn on a plugin in the middle" ? How can it
>>possibly been have been doing *anything* for the last 10 seconds ? It
>>was turned off. Your idea of what "turning on" means seems to be
>>different than mine.
>
>So, can LADSPA plug-in read input way earlier than outputting anything?
>Or is it assumed that as soon as inputs and outputs are connected they
>read and write stuff?

Of course. Why on earth should it not be able to do this ? If its
called with runAdding(), it just does nothing; if called with run(),
it just writes zeroes. How else would a delay work ?

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Apr 01 2000 - 19:20:39 EEST