mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Documentation error: changed "fluid_synth_setint" to "fluid_settings_setint"
This commit is contained in:
parent
15e6508ffd
commit
d69eab9d11
2 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@
|
|||
numbers (double floats), and integers. You can change the values
|
||||
of a setting using the <function>fluid_settings_setstr</function>,
|
||||
<function>fluid_settings_setnum</function>, and
|
||||
<function>fluid_synth_setint</function> functions. For example:
|
||||
<function>fluid_settings_setint</function> functions. For example:
|
||||
|
||||
<programlisting>
|
||||
#include <fluidsynth.h>
|
||||
|
@ -138,7 +138,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
fluid_settings_t* settings = new_fluid_settings();
|
||||
|
||||
fluid_synth_setint(settings, "synth.polyphony", 128);
|
||||
fluid_settings_setint(settings, "synth.polyphony", 128);
|
||||
|
||||
delete_fluid_settings(settings);
|
||||
return 0;
|
||||
|
|
|
@ -189,7 +189,7 @@ All settings have a name that follows the "dotted-name" notation. For example, "
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
fluid_settings_t* settings = new_fluid_settings();
|
||||
fluid_synth_setint(settings, "synth.polyphony", 128);
|
||||
fluid_settings_setint(settings, "synth.polyphony", 128);
|
||||
/* ... */
|
||||
delete_fluid_settings(settings);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue