Browse Source

Skip chowdsp and valleyaudio for wasm builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.07
falkTX 2 months ago
parent
commit
8b9afb3d4f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 18 additions and 0 deletions
  1. +6
    -0
      plugins/Makefile
  2. +12
    -0
      plugins/plugins.cpp

+ 6
- 0
plugins/Makefile View File

@@ -490,9 +490,12 @@ BOGAUDIO_CUSTOM_PER_FILE = ARQuantity AttackMenuItem ReleaseMenuItem
# --------------------------------------------------------------
# ChowDSP

# FIXME
ifneq ($(WASM),true)
PLUGIN_FILES += $(wildcard ChowDSP/src/*/*.cpp)
PLUGIN_FILES += $(wildcard ChowDSP/src/*/*/*.cpp)
PLUGIN_FILES += $(wildcard ChowDSP/lib/r8lib/*.cpp)
endif

# --------------------------------------------------------------
# CatroModulo
@@ -825,6 +828,8 @@ UNLESS_MODULES_CUSTOM = Selection
# --------------------------------------------------------------
# ValleyAudio

# FIXME
ifneq ($(WASM),true)
PLUGIN_FILES += $(filter-out ValleyAudio/src/Valley.cpp,$(wildcard ValleyAudio/src/*.cpp))
PLUGIN_FILES += $(wildcard ValleyAudio/src/*/*.cpp)
PLUGIN_FILES += $(wildcard ValleyAudio/src/*/*/*.cpp)
@@ -897,6 +902,7 @@ PLUGIN_BINARIES += ValleyAudio/src/XFADE.bin
# modules/types which are present in other plugins
VALLEYAUDIO_CUSTOM = $(DRWAV) DigitalDisplay
VALLEYAUDIO_CUSTOM_PER_FILE = TempoKnob
endif

# --------------------------------------------------------------
# Voxglitch


+ 12
- 0
plugins/plugins.cpp View File

@@ -1622,6 +1622,8 @@ static void initStatic__cf()
}
}

// FIXME
#ifndef DISTRHO_OS_WASM
static void initStatic__ChowDSP()
{
Plugin* const p = new Plugin;
@@ -1648,6 +1650,7 @@ static void initStatic__ChowDSP()
p->addModel(modelChowChorus);
}
}
#endif

static void initStatic__DrumKit()
{
@@ -2586,6 +2589,8 @@ static void initStatic__unless_modules()
}
}

// FIXME
#ifndef DISTRHO_OS_WASM
static void initStatic__ValleyAudio()
{
Plugin* const p = new Plugin;
@@ -2604,6 +2609,7 @@ static void initStatic__ValleyAudio()
p->addModel(modelTerrorform);
}
}
#endif

static void initStatic__Voxglitch()
{
@@ -2719,7 +2725,10 @@ void initStaticPlugins()
initStatic__BogaudioModules();
initStatic__CatroModulo();
initStatic__cf();
// FIXME
#ifndef DISTRHO_OS_WASM
initStatic__ChowDSP();
#endif
initStatic__DrumKit();
initStatic__ESeries();
initStatic__ExpertSleepersEncoders();
@@ -2759,7 +2768,10 @@ void initStaticPlugins()
initStatic__sonusmodular();
initStatic__stocaudio();
initStatic__unless_modules();
// FIXME
#ifndef DISTRHO_OS_WASM
initStatic__ValleyAudio();
#endif
initStatic__Voxglitch();
initStatic__WhatTheRack();
initStatic__ZetaCarinaeModules();


Loading…
Cancel
Save