Merge pull request #2830 from jasp00/aeffectx
Replace information obtained from the web in aeffectx.h
This commit is contained in:
@@ -192,9 +192,6 @@ public:
|
||||
// read parameter-dump and set it for plugin
|
||||
void setParameterDump( const message & _m );
|
||||
|
||||
// post properties of specified parameter
|
||||
void getParameterProperties( const int _idx );
|
||||
|
||||
// save settings chunk of plugin into file
|
||||
void saveChunkToFile( const std::string & _file );
|
||||
|
||||
@@ -503,10 +500,6 @@ bool RemoteVstPlugin::processMessage( const message & _m )
|
||||
setParameterDump( _m );
|
||||
break;
|
||||
|
||||
case IdVstGetParameterProperties:
|
||||
getParameterProperties( _m.getInt() );
|
||||
break;
|
||||
|
||||
case IdSaveSettingsToFile:
|
||||
saveChunkToFile( _m.getString() );
|
||||
sendMessage( IdSaveSettingsToFile );
|
||||
@@ -984,37 +977,6 @@ void RemoteVstPlugin::setParameterDump( const message & _m )
|
||||
|
||||
|
||||
|
||||
void RemoteVstPlugin::getParameterProperties( const int _idx )
|
||||
{
|
||||
VstParameterProperties p;
|
||||
pluginDispatch( effGetParameterProperties, _idx, 0, &p );
|
||||
message m( IdVstParameterProperties );
|
||||
m.addString( p.label );
|
||||
m.addString( p.shortLabel );
|
||||
m.addString(
|
||||
#if kVstVersion > 2
|
||||
p.categoryLabel
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
);
|
||||
m.addFloat( p.minInteger );
|
||||
m.addFloat( p.maxInteger );
|
||||
m.addFloat( ( p.flags & kVstParameterUsesFloatStep ) ?
|
||||
p.stepFloat : p.stepInteger );
|
||||
m.addInt(
|
||||
#if kVstVersion > 2
|
||||
p.category
|
||||
#else
|
||||
0
|
||||
#endif
|
||||
);
|
||||
sendMessage( m );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void RemoteVstPlugin::saveChunkToFile( const std::string & _file )
|
||||
{
|
||||
if( m_plugin->flags & 32 )
|
||||
|
||||
@@ -63,7 +63,6 @@ enum VstRemoteMessageIDs
|
||||
IdVstGetParameterCount,
|
||||
IdVstGetParameterDump,
|
||||
IdVstSetParameterDump,
|
||||
IdVstGetParameterProperties,
|
||||
IdVstProgramNames,
|
||||
IdVstCurrentProgram,
|
||||
IdVstCurrentProgramName,
|
||||
@@ -84,8 +83,7 @@ enum VstRemoteMessageIDs
|
||||
IdVstPluginUniqueID,
|
||||
IdVstSetParameter,
|
||||
IdVstParameterCount,
|
||||
IdVstParameterDump,
|
||||
IdVstParameterProperties
|
||||
IdVstParameterDump
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user