Release the API lock when returning from fluid_ladspa_add_host_ports

This commit is contained in:
Marcus Weseloh 2017-11-20 19:58:05 +01:00
parent e312f5bedd
commit 645d8c5da4

View file

@ -298,11 +298,11 @@ int fluid_ladspa_add_host_ports(fluid_ladspa_fx_t *fx, const char *prefix,
FLUID_LADSPA_NODE_AUDIO | FLUID_LADSPA_NODE_HOST,
buffers[i]) == NULL)
{
return FLUID_FAILED;
LADSPA_API_RETURN(fx, FLUID_FAILED);
}
}
return FLUID_OK;
LADSPA_API_RETURN(fx, FLUID_OK);
}