Skip to content

Commit c0ac7d9

Browse files
committed
workaround bogaudio missing symbol
Signed-off-by: falkTX <[email protected]>
1 parent a1cab84 commit c0ac7d9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

plugins/Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,18 @@ $(BUILD_DIR)/BogaudioModules/src/follower_base.cpp.o: BogaudioModules/src/follow
22772277
-IBogaudioModules/lib \
22782278
-IBogaudioModules/src/dsp
22792279

2280+
$(BUILD_DIR)/BogaudioModules/src/VCF.cpp.o: BogaudioModules/src/VCF.cpp
2281+
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
2282+
@echo "Compiling $<"
2283+
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
2284+
$(foreach m,$(BOGAUDIO_CUSTOM),$(call custom_module_names,$(m),Bogaudio)) \
2285+
-DpluginInstance=pluginInstance__BogaudioModules \
2286+
-DminFrequency=minFrequencyDebug \
2287+
-DRACK_SIMD=1 \
2288+
-DSKIP_MINGW_FORMAT \
2289+
-IBogaudioModules/lib \
2290+
-IBogaudioModules/src/dsp
2291+
22802292
$(BUILD_DIR)/BogaudioModules/%.cpp.o: BogaudioModules/%.cpp
22812293
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
22822294
@echo "Compiling $<"

src/custom/dep.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,17 @@ void refreshTheme();
2727

2828
#include "nanovg.h"
2929

30-
// fix bogaudio build, another missing symbol
30+
// fix bogaudio build, missing symbols
3131
#ifndef NDEBUG
3232
namespace bogaudio {
3333
struct FollowerBase {
3434
static float efGainMaxDecibelsDebug;
3535
};
36+
struct VCF {
37+
static float minFrequencyDebug;
38+
};
3639
float FollowerBase::efGainMaxDecibelsDebug = 12.0f;
40+
float VCF::minFrequencyDebug = 3.0f;
3741
}
3842
#endif
3943

0 commit comments

Comments
 (0)