Remove VESTIGE_HEADER stuff since we will always use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10755 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -18,10 +18,6 @@ void vstfx_set_error_function (void (*func)(const char *));
|
||||
|
||||
void vstfx_error (const char *fmt, ...);
|
||||
|
||||
/*We will use the vestige headers*/
|
||||
|
||||
#define VESTIGE_HEADER
|
||||
|
||||
#include <ardour/vestige/aeffectx.h>
|
||||
|
||||
typedef struct _VSTFX VSTFX;
|
||||
|
||||
@@ -499,11 +499,7 @@ LXVSTPlugin::signal_latency () const
|
||||
return _user_latency;
|
||||
}
|
||||
|
||||
#ifdef VESTIGE_HEADER
|
||||
return *((int32_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */
|
||||
#else
|
||||
return _plugin->initial_delay;
|
||||
#endif
|
||||
}
|
||||
|
||||
set<Evoral::Parameter>
|
||||
|
||||
@@ -543,11 +543,7 @@ WindowsVSTPlugin::signal_latency () const
|
||||
return _user_latency;
|
||||
}
|
||||
|
||||
#ifdef VESTIGE_HEADER
|
||||
return *((framecnt_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */
|
||||
#else
|
||||
return _plugin->initial_delay;
|
||||
#endif
|
||||
}
|
||||
|
||||
set<Evoral::Parameter>
|
||||
@@ -623,11 +619,7 @@ WindowsVSTPlugin::unique_id() const
|
||||
{
|
||||
char buf[32];
|
||||
|
||||
#ifdef VESTIGE_HEADER
|
||||
snprintf (buf, sizeof (buf), "%d", *((int32_t*) &_plugin->unused_id));
|
||||
#else
|
||||
snprintf (buf, sizeof (buf), "%d", _plugin->uniqueID);
|
||||
#endif
|
||||
return string (buf);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,11 +27,7 @@ void fst_set_error_function (void (*func)(const char *));
|
||||
|
||||
void fst_error (const char *fmt, ...);
|
||||
|
||||
#define VESTIGE_HEADER
|
||||
|
||||
#ifdef VESTIGE_HEADER
|
||||
#include <vestige/aeffectx.h>
|
||||
#endif
|
||||
|
||||
typedef struct _FST FST;
|
||||
typedef struct _FSTHandle FSTHandle;
|
||||
|
||||
@@ -184,11 +184,7 @@ static FSTInfo *fst_info_from_plugin( FST *fst ) {
|
||||
info->creator = strdup (creator);
|
||||
}
|
||||
|
||||
#ifdef VESTIGE_HEADER
|
||||
info->UniqueID = *((int32_t *) &plugin->unused_id);
|
||||
#else
|
||||
info->UniqueID = plugin->uniqueID;
|
||||
#endif
|
||||
|
||||
info->Category = strdup( "None" ); // FIXME:
|
||||
info->numInputs = plugin->numInputs;
|
||||
|
||||
Reference in New Issue
Block a user