mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
rename chorus getters to match naming conventions
fluid_synth_get_chorus_speed() and fluid_synth_get_chorus_depth()
This commit is contained in:
parent
57abab0a31
commit
435361ef0c
4 changed files with 11 additions and 10 deletions
|
@ -821,8 +821,8 @@ fluidmax_chorus(t_object *o, Symbol *s, short ac, Atom *at)
|
|||
}
|
||||
else if(ftmax_is_number(at))
|
||||
{
|
||||
double speed = fluid_synth_get_chorus_speed_Hz(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth_ms(self->synth);
|
||||
double speed = fluid_synth_get_chorus_speed(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth(self->synth);
|
||||
int type = fluid_synth_get_chorus_type(self->synth);
|
||||
int nr = fluid_synth_get_chorus_nr(self->synth);
|
||||
|
||||
|
@ -1267,8 +1267,8 @@ fluidmax_print(t_object *o, Symbol *s, short ac, Atom *at)
|
|||
if(self->chorus != 0)
|
||||
{
|
||||
double level = fluid_synth_get_chorus_level(self->synth);
|
||||
double speed = fluid_synth_get_chorus_speed_Hz(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth_ms(self->synth);
|
||||
double speed = fluid_synth_get_chorus_speed(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth(self->synth);
|
||||
int type = fluid_synth_get_chorus_type(self->synth);
|
||||
int nr = fluid_synth_get_chorus_nr(self->synth);
|
||||
|
||||
|
@ -1477,8 +1477,8 @@ fluidmax_info(t_object *o, Symbol *s, short ac, Atom *at)
|
|||
if(self->chorus != 0)
|
||||
{
|
||||
double level = fluid_synth_get_chorus_level(self->synth);
|
||||
double speed = fluid_synth_get_chorus_speed_Hz(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth_ms(self->synth);
|
||||
double speed = fluid_synth_get_chorus_speed(self->synth);
|
||||
double depth = fluid_synth_get_chorus_depth(self->synth);
|
||||
int type = fluid_synth_get_chorus_type(self->synth);
|
||||
int nr = fluid_synth_get_chorus_nr(self->synth);
|
||||
ftmax_atom_t a[5];
|
||||
|
|
|
@ -107,6 +107,7 @@ Changes in FluidSynth 2.0.0 concerning developers:
|
|||
- reverb: roomsize is now limited to an upper threshold of 1.0 to avoid exponential volume increase
|
||||
- use unique device names for the "audio.portaudio.device" setting
|
||||
- rename fluid_mod_new() and fluid_mod_delete() to match naming conventions: new_fluid_mod() and delete_fluid_mod()
|
||||
- rename chorus getters to match naming conventions: fluid_synth_get_chorus_speed() and fluid_synth_get_chorus_depth()
|
||||
- fluid_synth_remove_sfont() returns FLUID_OK or FLUID_FAILED
|
||||
<br /><br />
|
||||
- add <a href="fluidsettings.xml#midi.autoconnect">"midi.autoconnect"</a> a setting for automatically connecting fluidsynth to available MIDI input ports
|
||||
|
|
|
@ -159,8 +159,8 @@ FLUIDSYNTH_API int fluid_synth_set_chorus_type(fluid_synth_t* synth, int type);
|
|||
FLUIDSYNTH_API void fluid_synth_set_chorus_on(fluid_synth_t* synth, int on);
|
||||
FLUIDSYNTH_API int fluid_synth_get_chorus_nr(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API double fluid_synth_get_chorus_level(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API double fluid_synth_get_chorus_speed_Hz(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API double fluid_synth_get_chorus_depth_ms(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API double fluid_synth_get_chorus_speed(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API double fluid_synth_get_chorus_depth(fluid_synth_t* synth);
|
||||
FLUIDSYNTH_API int fluid_synth_get_chorus_type(fluid_synth_t* synth); /* see fluid_chorus_mod */
|
||||
|
||||
|
||||
|
|
|
@ -4564,7 +4564,7 @@ fluid_synth_get_chorus_level(fluid_synth_t* synth)
|
|||
* @return Chorus speed in Hz (0.29-5.0)
|
||||
*/
|
||||
double
|
||||
fluid_synth_get_chorus_speed_Hz(fluid_synth_t* synth)
|
||||
fluid_synth_get_chorus_speed(fluid_synth_t* synth)
|
||||
{
|
||||
double result;
|
||||
fluid_return_val_if_fail (synth != NULL, 0.0);
|
||||
|
@ -4580,7 +4580,7 @@ fluid_synth_get_chorus_speed_Hz(fluid_synth_t* synth)
|
|||
* @return Chorus depth
|
||||
*/
|
||||
double
|
||||
fluid_synth_get_chorus_depth_ms(fluid_synth_t* synth)
|
||||
fluid_synth_get_chorus_depth(fluid_synth_t* synth)
|
||||
{
|
||||
double result;
|
||||
fluid_return_val_if_fail (synth != NULL, 0.0);
|
||||
|
|
Loading…
Reference in a new issue