Path: blob/master/libs/fluidsynth/src/bindings/fluid_ladspa.h
4396 views
/* FluidSynth - A Software Synthesizer1*2* Copyright (C) 2003 Peter Hanappe and others.3*4* This library is free software; you can redistribute it and/or5* modify it under the terms of the GNU Lesser General Public License6* as published by the Free Software Foundation; either version 2.1 of7* the License, or (at your option) any later version.8*9* This library is distributed in the hope that it will be useful, but10* WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* Lesser General Public License for more details.13*14* You should have received a copy of the GNU Lesser General Public15* License along with this library; if not, write to the Free16* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA17* 02110-1301, USA18*/1920#ifndef _FLUID_LADSPA_H21#define _FLUID_LADSPA_H2223#include "fluid_sys.h"2425fluid_ladspa_fx_t *new_fluid_ladspa_fx(fluid_real_t sample_rate, int buffer_size);26void delete_fluid_ladspa_fx(fluid_ladspa_fx_t *fx);2728int fluid_ladspa_set_sample_rate(fluid_ladspa_fx_t *fx, fluid_real_t sample_rate);2930void fluid_ladspa_run(fluid_ladspa_fx_t *fx, int block_count, int block_size);3132int fluid_ladspa_add_host_ports(fluid_ladspa_fx_t *fx, const char *prefix,33int num_buffers, fluid_real_t buffers[], int buf_stride);3435#endif /* _FLUID_LADSPA_H */363738