diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-22 01:28:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-22 01:28:34 +0000 |
commit | ff98e0490d240e1010da92460601b0e7fb5ee848 (patch) | |
tree | 10a7e8c1c3a319ba6abb6584659bf942374842a2 /libs/fst/vstwin.c | |
parent | d98b2b6039f4733bc264046810d56c5b56ddb288 (diff) |
Share VSTHandle and VSTInfo between windows/linux VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10758 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst/vstwin.c')
-rw-r--r-- | libs/fst/vstwin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index cdc9e3af07..91a25e5852 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -84,10 +84,10 @@ fst_new () return fst; } -static FSTHandle* +static VSTHandle* fst_handle_new () { - FSTHandle* fst = (FSTHandle*) calloc (1, sizeof (FSTHandle)); + VSTHandle* fst = (VSTHandle*) calloc (1, sizeof (VSTHandle)); return fst; } @@ -522,11 +522,11 @@ fst_load_vst_library(const char * path) return dll; } -FSTHandle* +VSTHandle * fst_load (const char *path) { char* buf; - FSTHandle* fhandle; + VSTHandle* fhandle; char* period; fhandle = fst_handle_new (); @@ -581,7 +581,7 @@ fst_load (const char *path) } int -fst_unload (FSTHandle* fhandle) +fst_unload (VSTHandle* fhandle) { if (fhandle->plugincnt) { return -1; @@ -602,7 +602,7 @@ fst_unload (FSTHandle* fhandle) } FST* -fst_instantiate (FSTHandle* fhandle, audioMasterCallback amc, void* userptr) +fst_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr) { FST* fst = fst_new (); |