diff --git a/plugins/Befaco b/plugins/Befaco index b24e1c3..8765824 160000 --- a/plugins/Befaco +++ b/plugins/Befaco @@ -1 +1 @@ -Subproject commit b24e1c373c7c54871d33247d40216e311dc00849 +Subproject commit 87658247c3f49be5a9998e8be199e863207fe24d diff --git a/plugins/Makefile b/plugins/Makefile index 3064c77..08199f2 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -560,7 +560,10 @@ PLUGIN_FILES += $(filter-out Befaco/src/plugin.cpp Befaco/src/MidiThing.cpp,$(wi PLUGIN_FILES += $(wildcard Befaco/src/noise-plethora/*/*.cpp) # modules/types which are present in other plugins -BEFACO_CUSTOM = ADSR Mixer chowdsp Burst +BEFACO_CUSTOM = ADSR Mixer chowdsp Burst RecordButton + +BEFACO_FLAGS = $(filter-out -fsingle-precision-constant,$(filter-out -std=gnu++11,$(BUILD_CXX_FLAGS))) +BEFACO_FLAGS += -std=gnu++17 # -------------------------------------------------------------- # Bidoo @@ -2238,7 +2241,7 @@ $(BUILD_DIR)/BaconPlugs/%.cpp.o: BaconPlugs/%.cpp $(BUILD_DIR)/Befaco/%.cpp.o: Befaco/%.cpp -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" @echo "Compiling $<" - $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \ + $(SILENT)$(CXX) $< $(BEFACO_FLAGS) -c -o $@ \ $(foreach m,$(BEFACO_CUSTOM),$(call custom_module_names,$(m),Befaco)) \ -DpluginInstance=pluginInstance__Befaco diff --git a/plugins/plugins.cpp b/plugins/plugins.cpp index b99ea6b..afdd809 100644 --- a/plugins/plugins.cpp +++ b/plugins/plugins.cpp @@ -1620,6 +1620,8 @@ static void initStatic__Befaco() p->addModel(modelBurst); p->addModel(modelVoltio); p->addModel(modelOctaves); + p->addModel(modelBypass); + p->addModel(modelBandit); #undef modelADSR #undef modelMixer #undef modelBurst diff --git a/src/custom/dep.cpp b/src/custom/dep.cpp index b788af1..cad31aa 100644 --- a/src/custom/dep.cpp +++ b/src/custom/dep.cpp @@ -440,6 +440,8 @@ static const struct { { kModeBefaco, "/Befaco/res/panels/StereoStrip.svg" }, { kModeBefaco, "/Befaco/res/panels/Voltio.svg" }, { kModeBefaco, "/Befaco/res/panels/Octaves.svg" }, + { kModeBefaco, "/Befaco/res/panels/Bypass.svg" }, + { kModeBefaco, "/Befaco/res/panels/Bandit.svg" }, // GPLv3+ { kModeCardinal, "/Cardinal/res/AudioFile.svg" }, { kModeCardinal, "/Cardinal/res/AudioToCVPitch.svg" },