Control port values are always float

This commit is contained in:
Marcus Weseloh 2017-10-28 16:47:42 +02:00
parent fa0b210233
commit ea3481c57e
2 changed files with 2 additions and 2 deletions

View file

@ -670,7 +670,7 @@ int fluid_ladspa_add_audio_node(fluid_ladspa_fx_t *fx, const char *name)
* @return FLUID_OK on success, FLUID_FAILED on error
*/
int fluid_ladspa_set_effect_control(fluid_ladspa_fx_t *fx, const char *effect_name,
const char *port_name, fluid_real_t val)
const char *port_name, float val)
{
fluid_ladspa_node_t *node;
fluid_ladspa_plugin_t *plugin;

View file

@ -164,7 +164,7 @@ int fluid_ladspa_effect_port_exists(fluid_ladspa_fx_t *fx, const char *effect_na
int fluid_ladspa_add_audio_node(fluid_ladspa_fx_t *fx, const char *name);
int fluid_ladspa_set_effect_control(fluid_ladspa_fx_t *fx, const char *effect_name,
const char *port_name, fluid_real_t val);
const char *port_name, float val);
int fluid_ladspa_node_exists(fluid_ladspa_fx_t *fx, const char *name);
int fluid_ladspa_connect(fluid_ladspa_fx_t *fx, const char *effect_name,