Remove the now unused ability to skip opcodes

If this is needed again in the future (it shouldn't be), then it should
be re-implemented using a separate function.
This commit is contained in:
Robbert van der Helm
2020-04-26 16:29:41 +02:00
parent 0ce9c1e3a4
commit aee890fbf6
3 changed files with 16 additions and 26 deletions
+4 -4
View File
@@ -284,10 +284,10 @@ class HostCallbackDataConverter : DefaultDataConverter {
std::optional<VstTimeInfo>& time_info)
: plugin(plugin), time_info(time_info) {}
std::optional<EventPayload> read(const int opcode,
const int index,
const intptr_t value,
const void* data) {
EventPayload read(const int opcode,
const int index,
const intptr_t value,
const void* data) {
switch (opcode) {
case audioMasterGetTime:
return WantsVstTimeInfo{};