commit b627e6f518b858df7a31214c59d2979447278d79 parent 2f1b87d8db9263155c94c76a0d6b833234c19f2e Author: Alexandre BIQUE <bique.alexandre@gmail.com> Date: Mon, 14 Jun 2021 18:36:36 +0200 Missing implementation Diffstat:
M | examples/glue/clap-plugin.cc | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/examples/glue/clap-plugin.cc b/examples/glue/clap-plugin.cc @@ -764,6 +764,17 @@ namespace clap { return false; } + bool Plugin::canUseState() const noexcept { + if (!hostState_) + return false; + + if (hostState_->mark_dirty) + return true; + + hostMisbehaving("clap_host_state is partially implemented"); + return false; + } + bool Plugin::canUseTrackInfo() const noexcept { if (!hostTrackInfo_) return false;