mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
declare const fluid_rvoice_mixer_t *mixer
This commit is contained in:
parent
6e6e2fe74b
commit
8546f337f4
2 changed files with 4 additions and 4 deletions
|
@ -824,7 +824,7 @@ error_recovery:
|
|||
* @return the dry output index. -1 if fxunit_idx is out of range.
|
||||
*/
|
||||
int
|
||||
fluid_rvoice_mixer_get_fx_out_mapping(fluid_rvoice_mixer_t *mixer, int fxunit_idx)
|
||||
fluid_rvoice_mixer_get_fx_out_mapping(const fluid_rvoice_mixer_t *mixer, int fxunit_idx)
|
||||
{
|
||||
/* check fxunit_idx */
|
||||
if((fxunit_idx < 0) || (fxunit_idx >= mixer->fx_units))
|
||||
|
@ -858,7 +858,7 @@ DECLARE_FLUID_RVOICE_FUNCTION(fluid_rvoice_mixer_fx_set_mapping)
|
|||
* @return FLUID_OK if success, FLUID_FAILED otherwise.
|
||||
*/
|
||||
int
|
||||
fluid_rvoice_mixer_set_fx_out_mapping(fluid_rvoice_mixer_t *mixer,
|
||||
fluid_rvoice_mixer_set_fx_out_mapping(const fluid_rvoice_mixer_t *mixer,
|
||||
int fxunit_idx, int out_from_fx)
|
||||
{
|
||||
fluid_rvoice_param_t param[MAX_EVENT_PARAMS];
|
||||
|
|
|
@ -40,8 +40,8 @@ int fluid_rvoice_mixer_get_active_voices(fluid_rvoice_mixer_t *mixer);
|
|||
fluid_rvoice_mixer_t *new_fluid_rvoice_mixer(int buf_count, int fx_buf_count, int fx_units,
|
||||
fluid_real_t sample_rate_max, fluid_real_t sample_rate,
|
||||
fluid_rvoice_eventhandler_t *, int, int);
|
||||
int fluid_rvoice_mixer_get_fx_out_mapping(fluid_rvoice_mixer_t *mixer, int fxunit_idx);
|
||||
int fluid_rvoice_mixer_set_fx_out_mapping(fluid_rvoice_mixer_t *mixer,
|
||||
int fluid_rvoice_mixer_get_fx_out_mapping(const fluid_rvoice_mixer_t *mixer, int fxunit_idx);
|
||||
int fluid_rvoice_mixer_set_fx_out_mapping(const fluid_rvoice_mixer_t *mixer,
|
||||
int fxunit_idx, int out_from_fx);
|
||||
|
||||
void delete_fluid_rvoice_mixer(fluid_rvoice_mixer_t *);
|
||||
|
|
Loading…
Reference in a new issue