Browse Source

Added method AudioProcessor::getWrapperTypeDescription

tags/2021-05-28
jules 7 years ago
parent
commit
ed3b214912
2 changed files with 21 additions and 0 deletions
  1. +17
    -0
      modules/juce_audio_processors/processors/juce_AudioProcessor.cpp
  2. +4
    -0
      modules/juce_audio_processors/processors/juce_AudioProcessor.h

+ 17
- 0
modules/juce_audio_processors/processors/juce_AudioProcessor.cpp View File

@@ -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) {}


+ 4
- 0
modules/juce_audio_processors/processors/juce_AudioProcessor.h View File

@@ -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…
Cancel
Save