X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=cfgtool%2Fcfgtool.cc;h=3492f8b0356d2d1f833d2ddbf5e54e3da22b2b82;hb=482b71d35e90dcda60324fe1714515be82317429;hp=021484671bfaf70d6352eb13b6cadeae1a968bd8;hpb=610e30cde3d269f0340655a559d44394634f6e9d;p=ardour.git diff --git a/cfgtool/cfgtool.cc b/cfgtool/cfgtool.cc index 021484671b..3492f8b035 100644 --- a/cfgtool/cfgtool.cc +++ b/cfgtool/cfgtool.cc @@ -37,6 +37,9 @@ int main (int argc, char **argv) { cfg->remove_nodes_and_delete ("name", "updates-url"); cfg->remove_nodes_and_delete ("name", "freesound-download-dir"); // user specific + XMLNode* meta = state.child ("Metadata"); + meta->remove_nodes ("user_name"); + XMLTree tree; tree.set_root (&state); @@ -53,3 +56,15 @@ int main (int argc, char **argv) { int vstfx_init (void*) { return 0; } void vstfx_exit () {} void vstfx_destroy_editor (VSTState*) {} + +#ifdef WINDOWS_VST_SUPPORT +extern "C" { +int fst_init (void* possible_hmodule) { return -1;} +void fst_exit (void) {} +VSTHandle* fst_load (const char*) { return 0; } +int fst_unload (VSTHandle**) { return -1; } +VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr) { return 0; } +void fst_close (VSTState *) {} +void fst_audio_master_idle(void) {} +}; +#endif