feat: open native VST FX GUI from mastering panel + FX rack (bridge --open-fx-gui)
This commit is contained in:
@@ -638,6 +638,14 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
if (!scanDir.empty()) return run_scan_dir(scanDir);
|
||||
|
||||
// --open-fx-gui <job.json>: one-shot native editor window for a VST3 FX
|
||||
// (Mastering/FX Rack → "mở VST GUI"); runs until the user closes it.
|
||||
std::string fxGuiJob;
|
||||
for (int i = 1; i + 1 < argc; ++i) {
|
||||
if (std::strcmp(argv[i], "--open-fx-gui") == 0) fxGuiJob = argv[i + 1];
|
||||
}
|
||||
if (!fxGuiJob.empty()) return run_open_fx_gui(fxGuiJob);
|
||||
|
||||
// 1. Shared memory name: argv --shm <name> | env SF_SHM_NAME | default
|
||||
std::string shmName = "SonicForge_DAW_IPC";
|
||||
for (int i = 1; i + 1 < argc; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user