Skip to content

Commit

Permalink
workaround bogaudio missing symbol
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Nov 30, 2024
1 parent a1cab84 commit c1eeaa3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
12 changes: 12 additions & 0 deletions plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2277,6 +2277,18 @@ $(BUILD_DIR)/BogaudioModules/src/follower_base.cpp.o: BogaudioModules/src/follow
-IBogaudioModules/lib \
-IBogaudioModules/src/dsp

$(BUILD_DIR)/BogaudioModules/src/VCF.cpp.o: BogaudioModules/src/VCF.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(BOGAUDIO_CUSTOM),$(call custom_module_names,$(m),Bogaudio)) \
-DpluginInstance=pluginInstance__BogaudioModules \
-DminFrequency=minFrequencyDebug \
-DRACK_SIMD=1 \
-DSKIP_MINGW_FORMAT \
-IBogaudioModules/lib \
-IBogaudioModules/src/dsp

$(BUILD_DIR)/BogaudioModules/%.cpp.o: BogaudioModules/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
Expand Down
6 changes: 5 additions & 1 deletion src/custom/dep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ void refreshTheme();

#include "nanovg.h"

// fix bogaudio build, another missing symbol
// fix bogaudio build, missing symbols
#ifndef NDEBUG
namespace bogaudio {
struct FollowerBase {
static float efGainMaxDecibelsDebug;
};
struct BogaudioVCF {
static float minFrequencyDebug;
};
float FollowerBase::efGainMaxDecibelsDebug = 12.0f;
float BogaudioVCF::minFrequencyDebug = 3.0f;
}
#endif

Expand Down

0 comments on commit c1eeaa3

Please sign in to comment.