Move Vst3MessageHandler to common and make generic

CLAP will use the same strategy.
This commit is contained in:
Robbert van der Helm
2022-08-23 18:20:20 +02:00
parent ffad63d439
commit bf7280fc7e
6 changed files with 275 additions and 269 deletions
+2 -1
View File
@@ -91,7 +91,8 @@ struct HostResponse {
/**
* A reference wrapper similar `std::reference_wrapper<T>` that supports default
* initializing (which is of course UB, but we need this for serialization) and
* also forwards the `T::Response` type for use with `Vst3MessageHandler`.
* also forwards the `T::Response` type for use with the
* `TypedMessageHandler`.
*
* We use this during audio processing to avoid having to store the actual
* process data in a temporary object (when we copy it to an