mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
- some minor fixes
This commit is contained in:
parent
d398c86f1a
commit
1f987a539e
2 changed files with 4 additions and 3 deletions
|
@ -30,13 +30,14 @@
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
*
|
*
|
||||||
* versions:
|
* versions:
|
||||||
|
* (9): bug fix: now polyphony ans # of midi channel arguments take effect
|
||||||
* (8): added message resample permitting to chose resampling interpolation method
|
* (8): added message resample permitting to chose resampling interpolation method
|
||||||
* (7): added names for soundfonts (== file name without path and postfix)
|
* (7): added names for soundfonts (== file name without path and postfix)
|
||||||
* (6): added message 'info'
|
* (6): added message 'info'
|
||||||
* (5): fixed bogus path translation at file loading
|
* (5): fixed bogus path translation at file loading
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define VERSION "06/2004 (8)"
|
#define VERSION "09/2004 (9)"
|
||||||
|
|
||||||
#include "ftmax.h"
|
#include "ftmax.h"
|
||||||
#include "fluidsynth.h"
|
#include "fluidsynth.h"
|
||||||
|
@ -1473,8 +1474,8 @@ fluidmax_new(Symbol *s, short ac, Atom *at)
|
||||||
|
|
||||||
if(self->settings != NULL)
|
if(self->settings != NULL)
|
||||||
{
|
{
|
||||||
fluid_settings_setnum(self->settings, "synth.midi-channels", midi_channels);
|
fluid_settings_setint(self->settings, "synth.midi-channels", midi_channels);
|
||||||
fluid_settings_setnum(self->settings, "synth.polyphony", polyphony);
|
fluid_settings_setint(self->settings, "synth.polyphony", polyphony);
|
||||||
fluid_settings_setnum(self->settings, "synth.gain", 0.600000);
|
fluid_settings_setnum(self->settings, "synth.gain", 0.600000);
|
||||||
fluid_settings_setnum(self->settings, "synth.sample-rate", sys_getsr());
|
fluid_settings_setnum(self->settings, "synth.sample-rate", sys_getsr());
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue