DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::plugin::HasOfflineMode Concept Reference

Render-mode capability: void setOfflineRendering(bool) noexcept. The host flips it to true for non-realtime bounces (VST3 kOffline setup, the CLAP render extension, AU OfflineRender) - the moment to switch to more expensive algorithms (higher oversampling, longer lookahead). Called outside the audio thread, before processing (re)starts. Default: assume realtime. More...

#include <DSParkPlugin.h>

Concept definition

template<typename P>
concept dspark::plugin::HasOfflineMode = requires(P p, bool offline) {
p.setOfflineRendering(offline);
}
Render-mode capability: void setOfflineRendering(bool) noexcept. The host flips it to true for non-re...

Detailed Description

Render-mode capability: void setOfflineRendering(bool) noexcept. The host flips it to true for non-realtime bounces (VST3 kOffline setup, the CLAP render extension, AU OfflineRender) - the moment to switch to more expensive algorithms (higher oversampling, longer lookahead). Called outside the audio thread, before processing (re)starts. Default: assume realtime.

Definition at line 428 of file DSParkPlugin.h.