Include effString2Parameter in opcode list

We don't need any special handling for this since our default argument
detection will handle strings, but it might be useful for log output if
a host ever uses this. At the moment there don't seem to be any hosts on
Linux that use this.
This commit is contained in:
Robbert van der Helm
2021-05-21 02:03:27 +02:00
parent 0e3a4f6d54
commit 549306b295
2 changed files with 19 additions and 7 deletions
+11 -7
View File
@@ -156,6 +156,9 @@ std::optional<std::string> opcode_to_string(bool is_dispatch, int opcode) {
case effGetSpeakerArrangement:
return "effGetSpeakerArrangement";
break;
case effString2Parameter:
return "effString2Parameter";
break;
case effVendorSpecific:
return "effVendorSpecific";
break;
@@ -356,13 +359,14 @@ void Vst2Logger::log_set_parameter_response() {
}
}
void Vst2Logger::log_event(bool is_dispatch,
int opcode,
int index,
intptr_t value,
const Vst2Event::Payload& payload,
float option,
const std::optional<Vst2Event::Payload>& value_payload) {
void Vst2Logger::log_event(
bool is_dispatch,
int opcode,
int index,
intptr_t value,
const Vst2Event::Payload& payload,
float option,
const std::optional<Vst2Event::Payload>& value_payload) {
if (BOOST_UNLIKELY(logger.verbosity >= Logger::Verbosity::most_events)) {
if (should_filter_event(is_dispatch, opcode)) {
return;