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:
Carl Hetherington
2011-11-22 00:15:46 +00:00
parent 2f7b61155e
commit d7b38512b8
5 changed files with 0 additions and 24 deletions

View File

@@ -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;

View File

@@ -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>

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -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;