mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added StudioOne to host types list.
This commit is contained in:
parent
29b9450fcb
commit
fecaeb37cf
1 changed files with 5 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ public:
|
||||||
MagixSamplitude,
|
MagixSamplitude,
|
||||||
FruityLoops,
|
FruityLoops,
|
||||||
WaveBurner,
|
WaveBurner,
|
||||||
DigitalPerformer
|
DigitalPerformer,
|
||||||
|
StudioOne
|
||||||
};
|
};
|
||||||
|
|
||||||
const HostType type;
|
const HostType type;
|
||||||
|
|
@ -82,6 +83,7 @@ public:
|
||||||
bool isWaveBurner() const noexcept { return type == WaveBurner; }
|
bool isWaveBurner() const noexcept { return type == WaveBurner; }
|
||||||
bool isDigitalPerformer() const noexcept { return type == DigitalPerformer; }
|
bool isDigitalPerformer() const noexcept { return type == DigitalPerformer; }
|
||||||
bool isReaper() const noexcept { return type == Reaper; }
|
bool isReaper() const noexcept { return type == Reaper; }
|
||||||
|
bool isStudioOne() const noexcept { return type == StudioOne; }
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
static String getHostPath()
|
static String getHostPath()
|
||||||
|
|
@ -111,6 +113,7 @@ private:
|
||||||
if (hostFilename.containsIgnoreCase ("WaveBurner")) return WaveBurner;
|
if (hostFilename.containsIgnoreCase ("WaveBurner")) return WaveBurner;
|
||||||
if (hostFilename.contains ("Digital Performer")) return DigitalPerformer;
|
if (hostFilename.contains ("Digital Performer")) return DigitalPerformer;
|
||||||
if (hostFilename.containsIgnoreCase ("reaper")) return Reaper;
|
if (hostFilename.containsIgnoreCase ("reaper")) return Reaper;
|
||||||
|
if (hostPath.containsIgnoreCase ("Studio One")) return StudioOne;
|
||||||
|
|
||||||
#elif JUCE_WINDOWS
|
#elif JUCE_WINDOWS
|
||||||
if (hostFilename.containsIgnoreCase ("Live 6.")) return AbletonLive6;
|
if (hostFilename.containsIgnoreCase ("Live 6.")) return AbletonLive6;
|
||||||
|
|
@ -136,6 +139,7 @@ private:
|
||||||
if (hostFilename.containsIgnoreCase ("rm-host")) return MuseReceptorGeneric;
|
if (hostFilename.containsIgnoreCase ("rm-host")) return MuseReceptorGeneric;
|
||||||
if (hostFilename.startsWithIgnoreCase ("Sam")) return MagixSamplitude;
|
if (hostFilename.startsWithIgnoreCase ("Sam")) return MagixSamplitude;
|
||||||
if (hostFilename.startsWith ("FL")) return FruityLoops;
|
if (hostFilename.startsWith ("FL")) return FruityLoops;
|
||||||
|
if (hostPath.containsIgnoreCase ("Studio One")) return StudioOne;
|
||||||
|
|
||||||
#elif JUCE_LINUX
|
#elif JUCE_LINUX
|
||||||
jassertfalse // not yet done!
|
jassertfalse // not yet done!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue