Skip to content

Commit

Permalink
Support DSSI_CUSTOMDATA_EXTENSION_KEY used in new carla2-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Aug 5, 2014
1 parent 45a78f8 commit b061c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dssi-vst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ DSSIVSTPluginInstance::configure(std::string key, std::string value)
std::cerr << "DSSIVSTPluginInstance::configure: hide gui" << std::endl;
m_plugin->hideGUI();
}
} else if (key == "DSSI_CUSTOMDATA_EXTENSION_KEY") {
return "true";
}
} catch (RemotePluginClosedException) {
m_ok = false;
Expand Down
2 changes: 2 additions & 0 deletions dssi/dssi.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ typedef struct _DSSI_Descriptor {
#define DSSI_GLOBAL_CONFIGURE_PREFIX "GLOBAL:"
#define DSSI_PROJECT_DIRECTORY_KEY \
DSSI_RESERVED_CONFIGURE_PREFIX "PROJECT_DIRECTORY"
#define DSSI_CUSTOMDATA_EXTENSION_KEY \
DSSI_RESERVED_CONFIGURE_PREFIX "SUPPORTS_CUSTOMDATA"

/**
* get_program()
Expand Down

0 comments on commit b061c43

Please sign in to comment.