mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Define the Ack message in serialization/common.h
We're going to need this for VST2 audio processing.
This commit is contained in:
@@ -41,6 +41,15 @@ static_assert(std::is_same_v<intptr_t, int64_t>);
|
||||
using native_size_t = uint64_t;
|
||||
using native_intptr_t = int64_t;
|
||||
|
||||
/**
|
||||
* Empty struct for when we have send a response to some operation without any
|
||||
* result values.
|
||||
*/
|
||||
struct Ack {
|
||||
template <typename S>
|
||||
void serialize(S&) {}
|
||||
};
|
||||
|
||||
/**
|
||||
* An object containing the startup options for hosting a plugin. These options
|
||||
* are passed to `yabridge-host.exe` as command line arguments, and they are
|
||||
|
||||
@@ -69,15 +69,6 @@ std::u16string tchar_pointer_to_u16string(const Steinberg::Vst::TChar* string,
|
||||
const Steinberg::Vst::TChar* u16string_to_tchar_pointer(
|
||||
const std::u16string& string) noexcept;
|
||||
|
||||
/**
|
||||
* Empty struct for when we have send a response to some operation without any
|
||||
* result values.
|
||||
*/
|
||||
struct Ack {
|
||||
template <typename S>
|
||||
void serialize(S&) {}
|
||||
};
|
||||
|
||||
/**
|
||||
* Both `TUID` (`int8_t[16]`) and `FIDString` (`char*`) are hard to work with
|
||||
* because you can't just copy them. So when serializing/deserializing them
|
||||
|
||||
Reference in New Issue
Block a user