mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 07:53:55 +02:00
Add human readable name for effGetTailSize opcode
This commit is contained in:
@@ -154,7 +154,10 @@ std::optional<std::string> opcode_to_string(bool is_dispatch, int opcode) {
|
|||||||
return "effSetSpeakerArrangement";
|
return "effSetSpeakerArrangement";
|
||||||
break;
|
break;
|
||||||
case effGetSpeakerArrangement:
|
case effGetSpeakerArrangement:
|
||||||
return "effGetSpeakerArrangement ";
|
return "effGetSpeakerArrangement";
|
||||||
|
break;
|
||||||
|
case effGetTailSize:
|
||||||
|
return "effGetTailSize";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
@@ -521,9 +524,8 @@ bool Vst2Logger::should_filter_event(bool is_dispatch, int opcode) const {
|
|||||||
|
|
||||||
// Filter out log messages related to these events by default since they are
|
// Filter out log messages related to these events by default since they are
|
||||||
// called tens of times per second
|
// called tens of times per second
|
||||||
// TODO: Figure out what opcode 52 is
|
if ((is_dispatch && (opcode == effEditIdle || opcode == effGetTailSize ||
|
||||||
if ((is_dispatch &&
|
opcode == effIdle)) ||
|
||||||
(opcode == effEditIdle || opcode == 52 || opcode == effIdle)) ||
|
|
||||||
(!is_dispatch && (opcode == audioMasterGetTime ||
|
(!is_dispatch && (opcode == audioMasterGetTime ||
|
||||||
opcode == audioMasterGetCurrentProcessLevel))) {
|
opcode == audioMasterGetCurrentProcessLevel))) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -47,6 +47,12 @@
|
|||||||
[[maybe_unused]] constexpr int effSetSpeakerArrangement = 42;
|
[[maybe_unused]] constexpr int effSetSpeakerArrangement = 42;
|
||||||
[[maybe_unused]] constexpr int effGetSpeakerArrangement = 69;
|
[[maybe_unused]] constexpr int effGetSpeakerArrangement = 69;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used by hosts to query the length of reverb tails (equivalent to
|
||||||
|
* `IAudioProcessor::getTailSamples`). Found on the same list as above.
|
||||||
|
*/
|
||||||
|
[[maybe_unused]] constexpr int effGetTailSize = 52;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The struct that's being passed through the data parameter during the
|
* The struct that's being passed through the data parameter during the
|
||||||
* `effGetInputProperties` and `effGetOutputProperties` opcodes. Reverse
|
* `effGetInputProperties` and `effGetOutputProperties` opcodes. Reverse
|
||||||
|
|||||||
Reference in New Issue
Block a user