fix LV2Plugin::requires_fixed_sized_buffers()
ARDOUR::Plugin() does not inherit from ARDOUR::Processor(), the virtual function was never called.
This commit is contained in:
parent
28c9583ba6
commit
70222e8133
@ -84,6 +84,7 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent
|
||||
virtual void flush () { deactivate(); activate(); }
|
||||
|
||||
virtual int set_block_size (pframes_t nframes) = 0;
|
||||
virtual bool requires_fixed_sized_buffers() const { return false; }
|
||||
|
||||
virtual int connect_and_run (BufferSet& bufs,
|
||||
ChanMapping in, ChanMapping out,
|
||||
|
@ -560,7 +560,7 @@ PluginInsert::automation_run (BufferSet& bufs, framepos_t start, pframes_t nfram
|
||||
return;
|
||||
}
|
||||
|
||||
if (!find_next_event (now, end, next_event) || requires_fixed_sized_buffers()) {
|
||||
if (!find_next_event (now, end, next_event) || _plugins.front()->requires_fixed_sized_buffers()) {
|
||||
|
||||
/* no events have a time within the relevant range */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user