update Befaco to v2.8.0 (#749)

* update Befaco to v2.8.0

* custom Befaco type for RecordButton

* move to v2.8.1

---------

Co-authored-by: dromer <alexander@puikheid.nl>
This commit is contained in:
dreamer 2024-11-19 07:46:23 +01:00 committed by GitHub
parent 9de919fc46
commit 5349c16999
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

@ -1 +1 @@
Subproject commit b24e1c373c7c54871d33247d40216e311dc00849
Subproject commit 87658247c3f49be5a9998e8be199e863207fe24d

View file

@ -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

View file

@ -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