Let VST plugins know that we implement plugin window resizing.
This commit is contained in:
parent
4bc96f65cd
commit
2fc5ed1e72
@ -50,7 +50,8 @@ const char* Session::vst_can_do_strings[] = {
|
|||||||
X_("receiveVstMidiEvent"),
|
X_("receiveVstMidiEvent"),
|
||||||
X_("supportShell"),
|
X_("supportShell"),
|
||||||
X_("shellCategory"),
|
X_("shellCategory"),
|
||||||
X_("shellCategorycurID")
|
X_("shellCategorycurID"),
|
||||||
|
X_("sizeWindow")
|
||||||
};
|
};
|
||||||
const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*);
|
const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*);
|
||||||
|
|
||||||
@ -346,7 +347,7 @@ intptr_t Session::vst_callback (
|
|||||||
plug->VSTSizeWindow (); /* EMIT SIGNAL */
|
plug->VSTSizeWindow (); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 1;
|
||||||
|
|
||||||
case audioMasterGetSampleRate:
|
case audioMasterGetSampleRate:
|
||||||
SHOW_CALLBACK ("audioMasterGetSampleRate");
|
SHOW_CALLBACK ("audioMasterGetSampleRate");
|
||||||
|
Loading…
Reference in New Issue
Block a user