Re: lv2 host buffersize
Fons Adriaensen <[email protected]> Mon, 15 Jun 2026 14:52:52 +0200
| Newsgroups | gmane.linux.audio.devel |
|---|---|
| Message-ID | <ai/[email protected]> |
On Mon, Jun 15, 2026 at 11:56:46AM +0200, gm-linuxaudio.privatize920-OGrP24aSwZHk1uMJSBkQmQ@public.gmane.org wrote: > Now I cant find in the examples how to actually get the buffersize > given urids->buffersize. Can someone point me to a plugin where this is > achieved? A Ladspa or LV2 process() can be called with any number of frames. It just must be written to oblige. There is an extension/feature/whatever to request a fixed buffer size, but using this may make some hosts refuse loading your plugin. Anyway with the example resampler code I sent there is no need to do this, it will accept any value of 'nframes'. Ciao, -- FA