mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added method AudioProcessor::getWrapperTypeDescription
This commit is contained in:
parent
3149bc5a69
commit
ed3b214912
2 changed files with 21 additions and 0 deletions
|
|
@ -1374,6 +1374,23 @@ int32 AudioProcessor::getAAXPluginIDForMainBusConfig (const AudioChannelSet& mai
|
|||
return (idForAudioSuite ? 0x6a796161 /* 'jyaa' */ : 0x6a636161 /* 'jcaa' */) + uniqueFormatId;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
const char* AudioProcessor::getWrapperTypeDescription (AudioProcessor::WrapperType type) noexcept
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case AudioProcessor::wrapperType_Undefined: return "Undefined";
|
||||
case AudioProcessor::wrapperType_VST: return "VST";
|
||||
case AudioProcessor::wrapperType_VST3: return "VST3";
|
||||
case AudioProcessor::wrapperType_AudioUnit: return "AU";
|
||||
case AudioProcessor::wrapperType_AudioUnitv3: return "AUv3";
|
||||
case AudioProcessor::wrapperType_RTAS: return "RTAS";
|
||||
case AudioProcessor::wrapperType_AAX: return "AAX";
|
||||
case AudioProcessor::wrapperType_Standalone: return "Standalone";
|
||||
default: jassertfalse; return {};
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void AudioProcessorListener::audioProcessorParameterChangeGestureBegin (AudioProcessor*, int) {}
|
||||
void AudioProcessorListener::audioProcessorParameterChangeGestureEnd (AudioProcessor*, int) {}
|
||||
|
|
|
|||
|
|
@ -1389,6 +1389,10 @@ public:
|
|||
*/
|
||||
WrapperType wrapperType;
|
||||
|
||||
/** Returns a textual description of a WrapperType value */
|
||||
static const char* getWrapperTypeDescription (AudioProcessor::WrapperType) noexcept;
|
||||
|
||||
|
||||
/** A struct containing information about the DAW track inside which your
|
||||
AudioProcessor is loaded. */
|
||||
struct TrackProperties
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue