Override to set the plugin latency in samples. Plugin latency can depend on sampleRate but no other value. If you want your latency to depend on a Parameter your only choice is to pessimize the needed latency and compensate in the process callback.
Dynamic latency changes are not possible in Dplug yet. See Issue #442 => https://github.com/AuburnSounds/Dplug/issues/442
Plugin latency in samples. Note: this will absolutely be called before reset is called, so be prepared.
See Implementation
Override to set the plugin latency in samples. Plugin latency can depend on sampleRate but no other value. If you want your latency to depend on a Parameter your only choice is to pessimize the needed latency and compensate in the process callback.
Dynamic latency changes are not possible in Dplug yet. See Issue #442 => https://github.com/AuburnSounds/Dplug/issues/442