X_("receiveVstMidiEvent"),
X_("supportShell"),
X_("shellCategory"),
- X_("shellCategorycurID")
+ X_("shellCategorycurID"),
+ X_("sizeWindow")
};
const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*);
static VstTimeInfo _timeinfo; // only uses as fallback
VstTimeInfo* timeinfo;
int32_t newflags = 0;
+ bool used_for_impulse_analysis = false;
if (effect && effect->ptr1) {
plug = (VSTPlugin *) (effect->ptr1);
DEBUG_TRACE (PBD::DEBUG::VSTCallbacks, string_compose ("am callback 0x%1%2, opcode = %3%4, plugin = \"%5\"\n",
std::hex, (void*) DEBUG_THREAD_SELF,
std::dec, opcode, plug->name()));
+ if (plug->_for_impulse_analysis) {
+ plug = 0;
+ }
} else {
plug = 0;
session = 0;
case audioMasterSetTime:
SHOW_CALLBACK ("audioMasterSetTime");
// VstTimenfo* in <ptr>, filter in <value>, not supported
+ return 0;
case audioMasterTempoAt:
SHOW_CALLBACK ("audioMasterTempoAt");
plug->VSTSizeWindow (); /* EMIT SIGNAL */
}
}
- return 0;
+ return 1;
case audioMasterGetSampleRate:
SHOW_CALLBACK ("audioMasterGetSampleRate");
case audioMasterGetNextPlug:
SHOW_CALLBACK ("audioMasterGetNextPlug");
// output pin in <value> (-1: first to come), returns cEffect*
+ return 0;
case audioMasterWillReplaceOrAccumulate:
SHOW_CALLBACK ("audioMasterWillReplaceOrAccumulate");
SHOW_CALLBACK ("audioMasterGetVendorString");
// fills <ptr> with a string identifying the vendor (max 64 char)
strcpy ((char*) ptr, "Linux Audio Systems");
- return 0;
+ return 1;
case audioMasterGetProductString:
SHOW_CALLBACK ("audioMasterGetProductString");