Skip to content

Commit

Permalink
* bring across the 0.6 changes -- for some reason this version had been
Browse files Browse the repository at this point in the history
  baselined from 0.5
* update readme for 0.7, and update copyright notices &c
  • Loading branch information
cannam committed May 9, 2008
1 parent da7c2de commit 883c95d
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 27 deletions.
26 changes: 23 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,31 @@ dssi-vst: a DSSI plugin wrapper for VST plugins
This is a DSSI plugin wrapper for VST effects and instruments with GUI
support.

Copyright (c) 2004-2007 Chris Cannam, [email protected].
Copyright (c) 2004-2008 Chris Cannam, [email protected].

This is the 0.5 release of dssi-vst.
This is the 0.7 release of dssi-vst.

This release is the first to officially support the VeSTige
Changes since version 0.6:

* dssi-vst now exposes a LADSPA descriptor as well as a DSSI
descriptor, and the install target now installs dssi-vst to the
system LADSPA directory as well as the DSSI one. This change
permits you to use dssi-vst to load VST effects in LADSPA hosts,
as well as to load VST effects and instruments in DSSI hosts as
before. When used in a LADSPA host, the VST GUI will not be
shown unless the host supports DSSI-style GUIs for LADSPA
plugins as well -- which most do not.

* The vsthost program uses jack_client_open instead of
jack_client_new, for more predictable client names.

* dssi-vst now compiles with gcc 4.3 and is slightly less likely
than previously to crash on startup.

The 0.6 release contained a fix for a crash in the vsthost program.
Otherwise it was identical to 0.5.

The 0.5 release was the first to officially support the VeSTige
VST-compatibility header from Javier Serrano Polo (see
vestige/aeffectx.h). With this header, you no longer need to obtain
the official VST SDK in order to build dssi-vst. Many thanks to
Expand Down
4 changes: 2 additions & 2 deletions dssi-vst-scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include <iostream>
Expand Down Expand Up @@ -129,7 +129,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
char *destFile = 0;

cout << "DSSI VST plugin scanner v0.3" << endl;
cout << "Copyright (c) 2004-2007 Chris Cannam" << endl;
cout << "Copyright (c) 2004-2008 Chris Cannam" << endl;

if (cmdline && cmdline[0]) destFile = strdup(cmdline);

Expand Down
11 changes: 6 additions & 5 deletions dssi-vst-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include <iostream>
Expand Down Expand Up @@ -1095,7 +1095,7 @@ AudioThreadMain(LPVOID parameter)
cerr << "ERROR: Remote VST server instance failed: " << message << endl;
exiting = true;
} catch (RemotePluginClosedException) {
cerr << "ERROR: Remote VST plugin communication failure" << endl;
cerr << "ERROR: Remote VST plugin communication failure in audio thread" << endl;
exiting = true;
}
}
Expand Down Expand Up @@ -1133,7 +1133,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
bool tryGui = false, haveGui = true;

cout << "DSSI VST plugin server v" << RemotePluginVersion << endl;
cout << "Copyright (c) 2004-2006 Chris Cannam" << endl;
cout << "Copyright (c) 2004-2008 Chris Cannam" << endl;

char *home = getenv("HOME");

Expand Down Expand Up @@ -1306,7 +1306,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
cerr << "ERROR: Remote VST startup failed: " << message << endl;
return 1;
} catch (RemotePluginClosedException) {
cerr << "ERROR: Remote VST plugin communication failure" << endl;
cerr << "ERROR: Remote VST plugin communication failure in startup" << endl;
return 1;
}

Expand Down Expand Up @@ -1409,6 +1409,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)

if (tryGui && haveGui && !guiVisible) {
// Running in GUI-always-on mode and GUI has exited: follow it
cerr << "dssi-vst-server: Running in GUI mode and GUI has exited: going with it" << endl;
exiting = true;
}

Expand All @@ -1421,7 +1422,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
remoteVSTServerInstance->dispatchControl(500);
}
} catch (RemotePluginClosedException) {
cerr << "ERROR: Remote VST plugin communication failure" << endl;
cerr << "ERROR: Remote VST plugin communication failure in GUI thread" << endl;
exiting = true;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion dssi-vst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "remotevstclient.h"
Expand Down
4 changes: 2 additions & 2 deletions dssi-vst_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include <iostream>
Expand Down Expand Up @@ -185,7 +185,7 @@ int
main(int argc, char **argv)
{
cout << "DSSI VST plugin GUI controller v" << RemotePluginVersion << endl;
cout << "Copyright (c) 2004-2006 Chris Cannam" << endl;
cout << "Copyright (c) 2004-2008 Chris Cannam" << endl;

char *pluginlibname = 0;
char *label = 0;
Expand Down
2 changes: 1 addition & 1 deletion paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "paths.h"
Expand Down
2 changes: 1 addition & 1 deletion paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef _PATHS_H_
Expand Down
2 changes: 1 addition & 1 deletion rdwrops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "rdwrops.h"
Expand Down
2 changes: 1 addition & 1 deletion rdwrops.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef _RD_WR_OPS_H_
Expand Down
2 changes: 1 addition & 1 deletion remoteplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef REMOTE_PLUGIN_H
Expand Down
2 changes: 1 addition & 1 deletion remotepluginclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "remotepluginclient.h"
Expand Down
2 changes: 1 addition & 1 deletion remotepluginclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef REMOTE_PLUGIN_CLIENT_H
Expand Down
2 changes: 1 addition & 1 deletion remotepluginserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "remotepluginserver.h"
Expand Down
2 changes: 1 addition & 1 deletion remotepluginserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef REMOTE_PLUGIN_SERVER_H
Expand Down
2 changes: 1 addition & 1 deletion remotevstclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include "remotevstclient.h"
Expand Down
2 changes: 1 addition & 1 deletion remotevstclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#ifndef REMOTE_VST_CLIENT_H
Expand Down
5 changes: 2 additions & 3 deletions vsthost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
dssi-vst: a DSSI plugin wrapper for VST effects and instruments
Copyright 2004-2006 Chris Cannam
Copyright 2004-2008 Chris Cannam
*/

#include <ctype.h>
Expand Down Expand Up @@ -508,11 +508,9 @@ main(int argc, char **argv)
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(SIGHUP, &sa, 0);
sigaction(SIGINT, &sa, 0);
sigaction(SIGQUIT, &sa, 0);
sigaction(SIGTERM, &sa, 0);
sigaction(SIGPIPE, &sa, 0);
sigaction(SIGCHLD, &sa, 0);

jackData.client = 0;

Expand All @@ -535,6 +533,7 @@ main(int argc, char **argv)
sigaddset(&_signals, SIGTERM);
sigaddset(&_signals, SIGUSR1);
sigaddset(&_signals, SIGUSR2);
sigaddset(&_signals, SIGCHLD);
pthread_sigmask(SIG_BLOCK, &_signals, 0);

bool hasMIDI = plugin->hasMIDIInput();
Expand Down

0 comments on commit 883c95d

Please sign in to comment.