mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a flag to disable bypass in RTAS.
This commit is contained in:
parent
a4939b87f2
commit
5428554cda
10 changed files with 36 additions and 0 deletions
|
|
@ -92,6 +92,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping The Introjucer
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/jucer_AppearanceSettings_788d9889.o: ../../Source/Application/jucer_AppearanceSettings.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling jucer_AppearanceSettings.cpp"
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ namespace
|
|||
Value getPluginAUCocoaViewClassName (Project& project) { return project.getProjectValue ("pluginAUViewClass"); }
|
||||
Value getPluginAUMainType (Project& project) { return project.getProjectValue ("pluginAUMainType"); }
|
||||
Value getPluginRTASCategory (Project& project) { return project.getProjectValue ("pluginRTASCategory"); }
|
||||
Value getPluginRTASBypassDisabled (Project& project) { return project.getProjectValue ("pluginRTASDisableBypass"); }
|
||||
Value getPluginAAXCategory (Project& project) { return project.getProjectValue ("pluginAAXCategory"); }
|
||||
|
||||
String getPluginRTASCategoryCode (Project& project)
|
||||
|
|
@ -132,6 +133,7 @@ namespace
|
|||
flags.set ("JucePlugin_RTASCategory", getPluginRTASCategoryCode (project));
|
||||
flags.set ("JucePlugin_RTASManufacturerCode", "JucePlugin_ManufacturerCode");
|
||||
flags.set ("JucePlugin_RTASProductId", "JucePlugin_PluginCode");
|
||||
flags.set ("JucePlugin_RTASDisableBypass", valueToBool (getPluginRTASBypassDisabled (project)));
|
||||
flags.set ("JucePlugin_AAXIdentifier", project.getAAXIdentifier().toString());
|
||||
flags.set ("JucePlugin_AAXManufacturerCode", "JucePlugin_ManufacturerCode");
|
||||
flags.set ("JucePlugin_AAXProductId", "JucePlugin_PluginCode");
|
||||
|
|
|
|||
|
|
@ -96,6 +96,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping Juce Demo
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/ApplicationStartup_3bf86e16.o: ../../Source/ApplicationStartup.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling ApplicationStartup.cpp"
|
||||
|
|
|
|||
|
|
@ -73,6 +73,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping JuceDemoPlugin
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/PluginProcessor_a059e380.o: ../../Source/PluginProcessor.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling PluginProcessor.cpp"
|
||||
|
|
|
|||
|
|
@ -256,6 +256,9 @@
|
|||
#ifndef JucePlugin_RTASProductId
|
||||
#define JucePlugin_RTASProductId JucePlugin_PluginCode
|
||||
#endif
|
||||
#ifndef JucePlugin_RTASDisableBypass
|
||||
#define JucePlugin_RTASDisableBypass 0
|
||||
#endif
|
||||
#ifndef JucePlugin_AAXIdentifier
|
||||
#define JucePlugin_AAXIdentifier com.yourcompany.JuceDemoPlugin
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping Plugin Host
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/FilterGraph_62e9c017.o: ../../Source/FilterGraph.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling FilterGraph.cpp"
|
||||
|
|
|
|||
|
|
@ -61,6 +61,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping BinaryBuilder
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling Main.cpp"
|
||||
|
|
|
|||
|
|
@ -67,6 +67,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping HelloWorld
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling Main.cpp"
|
||||
|
|
|
|||
|
|
@ -97,6 +97,10 @@ clean:
|
|||
-@rm -rf $(OBJDIR)/*
|
||||
-@rm -rf $(OBJDIR)
|
||||
|
||||
strip:
|
||||
@echo Stripping Jucer
|
||||
-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
|
||||
|
||||
$(OBJDIR)/jucer_ComponentTypeHandler_354f298a.o: ../../src/model/components/jucer_ComponentTypeHandler.cpp
|
||||
-@mkdir -p $(OBJDIR)
|
||||
@echo "Compiling jucer_ComponentTypeHandler.cpp"
|
||||
|
|
|
|||
|
|
@ -941,7 +941,10 @@ public:
|
|||
type->DefineStemFormats (getFormatForChans (channelConfigs [i][0] != 0 ? channelConfigs [i][0] : channelConfigs [i][1]),
|
||||
getFormatForChans (channelConfigs [i][1] != 0 ? channelConfigs [i][1] : channelConfigs [i][0]));
|
||||
|
||||
#if ! JucePlugin_RTASDisableBypass
|
||||
type->AddGestalt (pluginGestalt_CanBypass);
|
||||
#endif
|
||||
|
||||
type->AddGestalt (pluginGestalt_SupportsVariableQuanta);
|
||||
type->AttachEffectProcessCreator (createNewProcess);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue