A useful utility class to determine the host or DAW in which your plugin is loaded. More...
#include <juce_PluginHostType.h>
Public Member Functions | |
PluginHostType () | |
PluginHostType (const PluginHostType &other)=default | |
const char * | getHostDescription () const noexcept |
Returns a human-readable description of the host. More... | |
Image | getHostIcon (int size) const |
Gets the host app's icon when Inter-App Audio is used on iOS. More... | |
bool | isAbletonLive () const noexcept |
Returns true if the host is any version of Ableton Live. More... | |
bool | isAdobeAudition () const noexcept |
Returns true if the host is Adobe Audition. More... | |
bool | isArdour () const noexcept |
Returns true if the host is Ardour. More... | |
bool | isAULab () const noexcept |
Returns true if the host is AU Lab. More... | |
bool | isBitwigStudio () const noexcept |
Returns true if the host is Bitwig Studio. More... | |
bool | isCubase () const noexcept |
Returns true if the host is any version of Steinberg Cubase. More... | |
bool | isCubase7orLater () const noexcept |
Returns true if the host is Steinberg Cubase 7 or later. More... | |
bool | isCubaseBridged () const noexcept |
Returns true if the host is Steinberg Cubase 5 Bridged. More... | |
bool | isDaVinciResolve () const noexcept |
Returns true if the host is DaVinci Resolve. More... | |
bool | isDigitalPerformer () const noexcept |
Returns true if the host is Digital Performer. More... | |
bool | isFinalCut () const noexcept |
Returns true if the host is Apple Final Cut Pro. More... | |
bool | isFruityLoops () const noexcept |
Returns true if the host is Fruity Loops. More... | |
bool | isGarageBand () const noexcept |
Returns true if the host is Apple GarageBand. More... | |
bool | isInterAppAudioConnected () const |
Returns true if the plugin is connected with Inter-App Audio on iOS. More... | |
bool | isJUCEPluginHost () const noexcept |
Returns true if the host is the JUCE AudioPluginHost. More... | |
bool | isLogic () const noexcept |
Returns true if the host is Apple Logic Pro. More... | |
bool | isMainStage () const noexcept |
Returns true if the host is Apple MainStage. More... | |
bool | isNuendo () const noexcept |
Returns true if the host is any version of Steinberg Nuendo. More... | |
bool | isPluginval () const noexcept |
Returns true if the host is pluginval. More... | |
bool | isPremiere () const noexcept |
Returns true if the host is Adobe Premiere Pro. More... | |
bool | isProTools () const noexcept |
Returns true if the host is Avid Pro Tools. More... | |
bool | isPyramix () const noexcept |
Returns true if the host is Merging Pyramix. More... | |
bool | isReaper () const noexcept |
Returns true if the host is Cockos Reaper. More... | |
bool | isReason () const noexcept |
Returns true if the host is Reason. More... | |
bool | isReceptor () const noexcept |
Returns true if the host is Muse Receptor. More... | |
bool | isRenoise () const noexcept |
Returns true if the host is Renoise. More... | |
bool | isSADiE () const noexcept |
Returns true if the host is SADiE. More... | |
bool | isSamplitude () const noexcept |
Returns true if the host is Magix Samplitude. More... | |
bool | isSequoia () const noexcept |
Returns true if the host is Magix Sequoia. More... | |
bool | isSonar () const noexcept |
Returns true if the host is any version of Cakewalk Sonar. More... | |
bool | isSteinberg () const noexcept |
Returns true if the host is any product from Steinberg. More... | |
bool | isSteinbergTestHost () const noexcept |
Returns true if the host is Steinberg's VST3 Test Host. More... | |
bool | isStudioOne () const noexcept |
Returns true if the host is PreSonus Studio One. More... | |
bool | isTracktion () const noexcept |
Returns true if the host is any version of Tracktion. More... | |
bool | isTracktionWaveform () const noexcept |
Returns true if the host is Tracktion Waveform. More... | |
bool | isVBVSTScanner () const noexcept |
Returns true if the host is VB Audio VST Scanner. More... | |
bool | isViennaEnsemblePro () const noexcept |
Returns true if the host is Vienna Ensemble Pro. More... | |
bool | isWaveBurner () const noexcept |
Returns true if the host is Apple WaveBurner. More... | |
bool | isWavelab () const noexcept |
Returns true if the host is any version of Steinberg WaveLab. More... | |
bool | isWavelabLegacy () const noexcept |
Returns true if the host is Steinberg WaveLab 6 or below. More... | |
PluginHostType & | operator= (const PluginHostType &other)=default |
void | switchToHostApplication () const |
Switches to the host application when Inter-App Audio is used on iOS. More... | |
Static Public Member Functions | |
static String | getHostPath () |
Returns the complete absolute path of the host application executable. More... | |
static AudioProcessor::WrapperType | getPluginLoadedAs () noexcept |
Returns the plug-in format via which the plug-in file was loaded. More... | |
static bool | isInAAXAudioSuite (AudioProcessor &) |
Returns true if the AudioProcessor instance is an AAX plug-in running in AudioSuite. More... | |
Public Attributes | |
HostType | type |
Static Private Member Functions | |
static HostType | getHostType () |
A useful utility class to determine the host or DAW in which your plugin is loaded.
Declare a PluginHostType object in your class to use it.
@tags{Audio}
Represents the host type and also its version for some hosts.
|
inline |
|
default |
|
noexcept |
Returns a human-readable description of the host.
Gets the host app's icon when Inter-App Audio is used on iOS.
|
inlinestatic |
Returns the complete absolute path of the host application executable.
References juce::File::getFullPathName(), juce::File::getSpecialLocation(), and juce::File::hostApplicationPath.
|
staticprivate |
|
inlinestaticnoexcept |
Returns the plug-in format via which the plug-in file was loaded.
This value is identical to AudioProcessor::wrapperType of the main audio processor of this plug-in. This function is useful for code that does not have access to the plug-in's main audio processor.
Referenced by juce::StandalonePluginHolder::getInstance().
|
inlinenoexcept |
Returns true if the host is any version of Ableton Live.
References AbletonLive10, AbletonLive11, AbletonLive6, AbletonLive7, AbletonLive8, AbletonLive9, AbletonLiveGeneric, and type.
|
inlinenoexcept |
Returns true if the host is Adobe Audition.
References AdobeAudition, and type.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is Bitwig Studio.
References BitwigStudio, and type.
|
inlinenoexcept |
Returns true if the host is any version of Steinberg Cubase.
References SteinbergCubase10, SteinbergCubase10_5, SteinbergCubase4, SteinbergCubase5, SteinbergCubase5Bridged, SteinbergCubase6, SteinbergCubase7, SteinbergCubase8, SteinbergCubase8_5, SteinbergCubase9, SteinbergCubase9_5, SteinbergCubaseGeneric, and type.
Referenced by isCubase7orLater(), and isSteinberg().
|
inlinenoexcept |
Returns true if the host is Steinberg Cubase 7 or later.
References isCubase(), SteinbergCubase4, SteinbergCubase5, SteinbergCubase6, and type.
|
inlinenoexcept |
Returns true if the host is Steinberg Cubase 5 Bridged.
References SteinbergCubase5Bridged, and type.
|
inlinenoexcept |
Returns true if the host is DaVinci Resolve.
References DaVinciResolve, and type.
|
inlinenoexcept |
Returns true if the host is Digital Performer.
References DigitalPerformer, and type.
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is Fruity Loops.
References FruityLoops, and type.
|
inlinenoexcept |
Returns true if the host is Apple GarageBand.
References AppleGarageBand, and type.
|
static |
Returns true if the AudioProcessor instance is an AAX plug-in running in AudioSuite.
bool juce::PluginHostType::isInterAppAudioConnected | ( | ) | const |
Returns true if the plugin is connected with Inter-App Audio on iOS.
|
inlinenoexcept |
Returns true if the host is the JUCE AudioPluginHost.
References JUCEPluginHost, and type.
|
inlinenoexcept |
Returns true if the host is Apple Logic Pro.
References AppleLogic, and type.
|
inlinenoexcept |
Returns true if the host is Apple MainStage.
References AppleMainStage, and type.
|
inlinenoexcept |
Returns true if the host is any version of Steinberg Nuendo.
References SteinbergNuendo3, SteinbergNuendo4, SteinbergNuendo5, SteinbergNuendoGeneric, and type.
Referenced by isSteinberg().
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is Adobe Premiere Pro.
References AdobePremierePro, and type.
|
inlinenoexcept |
Returns true if the host is Avid Pro Tools.
References AvidProTools, and type.
|
inlinenoexcept |
Returns true if the host is Merging Pyramix.
References MergingPyramix, and type.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is Muse Receptor.
References MuseReceptorGeneric, and type.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is Magix Samplitude.
References MagixSamplitude, and type.
|
inlinenoexcept |
Returns true if the host is Magix Sequoia.
References MagixSequoia, and type.
|
inlinenoexcept |
Returns true if the host is any version of Cakewalk Sonar.
References CakewalkByBandlab, CakewalkSonar8, CakewalkSonarGeneric, and type.
|
inlinenoexcept |
Returns true if the host is any product from Steinberg.
References isCubase(), isNuendo(), isSteinbergTestHost(), and isWavelab().
|
inlinenoexcept |
Returns true if the host is Steinberg's VST3 Test Host.
References SteinbergTestHost, and type.
Referenced by isSteinberg().
|
inlinenoexcept |
|
inlinenoexcept |
Returns true if the host is any version of Tracktion.
References isTracktionWaveform(), Tracktion3, TracktionGeneric, and type.
|
inlinenoexcept |
Returns true if the host is Tracktion Waveform.
References TracktionWaveform, and type.
Referenced by isTracktion().
|
inlinenoexcept |
Returns true if the host is VB Audio VST Scanner.
References type, and VBVSTScanner.
|
inlinenoexcept |
Returns true if the host is Vienna Ensemble Pro.
References type, and ViennaEnsemblePro.
|
inlinenoexcept |
Returns true if the host is Apple WaveBurner.
References type, and WaveBurner.
|
inlinenoexcept |
Returns true if the host is any version of Steinberg WaveLab.
References isWavelabLegacy(), SteinbergWavelab7, SteinbergWavelab8, SteinbergWavelabGeneric, and type.
Referenced by isSteinberg().
|
inlinenoexcept |
Returns true if the host is Steinberg WaveLab 6 or below.
References SteinbergWavelab5, SteinbergWavelab6, and type.
Referenced by isWavelab().
|
default |
void juce::PluginHostType::switchToHostApplication | ( | ) | const |
Switches to the host application when Inter-App Audio is used on iOS.
HostType juce::PluginHostType::type |
Referenced by isAbletonLive(), isAdobeAudition(), isArdour(), isAULab(), isBitwigStudio(), isCubase(), isCubase7orLater(), isCubaseBridged(), isDaVinciResolve(), isDigitalPerformer(), isFinalCut(), isFruityLoops(), isGarageBand(), isJUCEPluginHost(), isLogic(), isMainStage(), isNuendo(), isPluginval(), isPremiere(), isProTools(), isPyramix(), isReaper(), isReason(), isReceptor(), isRenoise(), isSADiE(), isSamplitude(), isSequoia(), isSonar(), isSteinbergTestHost(), isStudioOne(), isTracktion(), isTracktionWaveform(), isVBVSTScanner(), isViennaEnsemblePro(), isWaveBurner(), isWavelab(), and isWavelabLegacy().