Rename linux VST files to be more friendly.

git-svn-id: svn://localhost/ardour2/branches/3.0@10808 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-23 19:31:04 +00:00
parent 41b4e0a61c
commit 7c87036ee3
11 changed files with 12 additions and 61 deletions

View File

@ -17,7 +17,7 @@
#include <signal.h>
#include <glib.h>
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#include <X11/X.h>
#include <X11/Xlib.h>

View File

@ -18,7 +18,7 @@
*/
#include "ardour/lxvst_plugin.h"
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#include "lxvst_plugin_ui.h"
#include "ardour_ui.h"
#include <gdk/gdkx.h>

View File

@ -399,7 +399,7 @@ def build(bld):
obj.uselib += ' X11 '
if bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'vstfxwin.cc', 'lxvst_plugin_ui.cc' ]
obj.source += [ 'linux_vst_gui_support.cc', 'lxvst_plugin_ui.cc' ]
obj.defines += [ 'LXVST_SUPPORT' ]
obj.uselib += ' X11 '

View File

@ -1,49 +0,0 @@
#ifndef __vstfx_h__
#define __vstfx_h__
#include <setjmp.h>
#include <signal.h>
#include <pthread.h>
#include <stdio.h>
#include "ardour/vst_types.h"
/******************************************************************************************/
/*VSTFX - an engine to manage native linux VST plugins - derived from FST for Windows VSTs*/
/******************************************************************************************/
extern void (*vstfx_error_callback)(const char *msg);
void vstfx_set_error_function (void (*func)(const char *));
void vstfx_error (const char *fmt, ...);
/*API to vstfx*/
extern int vstfx_launch_editor (VSTState *);
extern int vstfx_init (void *);
extern void vstfx_exit ();
extern VSTHandle * vstfx_load (const char*);
extern int vstfx_unload (VSTHandle *);
extern VSTState * vstfx_instantiate (VSTHandle *, audioMasterCallback, void *);
extern void vstfx_close (VSTState*);
extern int vstfx_create_editor (VSTState *);
extern int vstfx_run_editor (VSTState *);
extern void vstfx_destroy_editor (VSTState *);
extern VSTInfo * vstfx_get_info (char *);
extern void vstfx_free_info (VSTInfo *);
extern void vstfx_event_loop_remove_plugin (VSTState *);
extern int vstfx_call_dispatcher (VSTState *, int, int, int, void *, float);
/** Load a plugin state from a file.**/
extern int vstfx_load_state (VSTState* vstfx, char * filename);
/** Save a plugin state to a file.**/
extern bool vstfx_save_state (VSTState* vstfx, char * filename);
#endif /* __vstfx_h__ */

View File

@ -34,7 +34,7 @@
#endif
#ifdef LXVST_SUPPORT
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#endif
#ifdef AUDIOUNIT_SUPPORT

View File

@ -20,7 +20,7 @@
#include <glib.h>
#include <glib/gstdio.h>
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#define MAX_STRING_LEN 256

View File

@ -10,7 +10,7 @@
#include <unistd.h>
#include <pthread.h>
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#include "pbd/error.h"
/***********************************************************/

View File

@ -17,7 +17,7 @@
*/
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
#include "ardour/session.h"
#include "ardour/lxvst_plugin.h"

View File

@ -31,14 +31,14 @@
#include <fstream>
#ifdef WINDOWS_VST_SUPPORT
#include <fst.h>
#include "fst.h"
#include "pbd/basename.h"
#include <cstring>
#endif // WINDOWS_VST_SUPPORT
#ifdef LXVST_SUPPORT
#include <ardour/vstfx.h>
#include <pbd/basename.h>
#include "ardour/linux_vst_support.h"
#include "pbd/basename.h"
#include <cstring>
#endif //LXVST_SUPPORT

View File

@ -1,6 +1,6 @@
/* Dummy LXVST methods so that libardour can be linked against the test code */
#include "ardour/vstfx.h"
#include "ardour/linux_vst_support.h"
int
vstfx_init (void* ptr)

View File

@ -391,7 +391,7 @@ def build(bld):
obj.defines += [ 'WINDOWS_VST_SUPPORT' ]
if bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'lxvst_plugin.cc', 'vstfx.cc', 'vstfxinfofile.cc' ]
obj.source += [ 'lxvst_plugin.cc', 'linux_vst_support.cc', 'linux_vst_info_file.cc' ]
obj.defines += [ 'LXVST_SUPPORT' ]
if bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT'):