Commit ca75c800 authored by Hanspeter Portner's avatar Hanspeter Portner

dsp: fixes for faust 2.20.2.

parent c2a0487b
Pipeline #105997107 failed with stages
in 3 minutes and 38 seconds
......@@ -1689,6 +1689,7 @@ _ui_add_vertical_bargraph(void* iface, const char* label, FAUSTFLOAT* zone,
cntrl->vertical_bargraph.ran_1 = 1.f / (max - min);
}
#if 0
static void
_ui_add_sound_file(void* iface, const char* label, const char* filename,
struct Soundfile** sf_zone __attribute__((unused)))
......@@ -1707,6 +1708,7 @@ _ui_add_sound_file(void* iface, const char* label, const char* filename,
//FIXME
}
#endif
static void
_ui_declare(void* iface, FAUSTFLOAT* zone __attribute__((unused)),
......@@ -1816,10 +1818,8 @@ _ui_init(dsp_t *dsp)
glue->addNumEntry = _ui_add_num_entry;
glue->addHorizontalBargraph = _ui_add_horizontal_bargraph;
glue->addVerticalBargraph = _ui_add_vertical_bargraph;
#if (FAUST_MAJOR_VERSION >= 2) && (FAUST_MINOR_VERSION >= 15) && (FAUST_MICRO_VERSION >= 11)
#if 0
glue->addSoundfile = _ui_add_sound_file;
#else
glue->addSoundFile = _ui_add_sound_file;
#endif
glue->declare = _ui_declare;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment