Documentation error: changed "fluid_synth_setint" to "fluid_settings_setint"

This commit is contained in:
David Henningsson 2011-12-18 04:44:14 +00:00
parent 15e6508ffd
commit d69eab9d11
2 changed files with 3 additions and 3 deletions

View file

@ -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 &lt;fluidsynth.h&gt;
@ -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;

View file

@ -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;