#include <stdio.h>
+#include <glib.h>
+
#include "pbd/xml++.h"
#include "ardour/rc_configuration.h"
return 0;
}
- setenv ("ARDOUR_DLL_PATH", "/xxx", 1);
- setenv ("ARDOUR_CONFIG_PATH", "/xxx", 1);
+ g_setenv ("ARDOUR_DLL_PATH", "/xxx", 1);
+ g_setenv ("ARDOUR_CONFIG_PATH", "/xxx", 1);
if (!ARDOUR::init (false, true, "/xxx")) {
fprintf(stderr, "Failed to initialize libardour\n");
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);
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