From 1f987a539ef2134510accd294ef370000014ef20 Mon Sep 17 00:00:00 2001 From: Norbert Schnell Date: Thu, 17 Mar 2005 17:06:40 +0000 Subject: [PATCH] - some minor fixes --- fluidsynth/bindings/fluidmax/fluidmax.c | 7 ++++--- fluidsynth/bindings/fluidmax/fluidmax.mcp | Bin 142420 -> 144300 bytes 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fluidsynth/bindings/fluidmax/fluidmax.c b/fluidsynth/bindings/fluidmax/fluidmax.c index 05409e5d..54baddad 100644 --- a/fluidsynth/bindings/fluidmax/fluidmax.c +++ b/fluidsynth/bindings/fluidmax/fluidmax.c @@ -30,13 +30,14 @@ /************************************************************************ * * versions: + * (9): bug fix: now polyphony ans # of midi channel arguments take effect * (8): added message resample permitting to chose resampling interpolation method * (7): added names for soundfonts (== file name without path and postfix) * (6): added message 'info' * (5): fixed bogus path translation at file loading * */ -#define VERSION "06/2004 (8)" +#define VERSION "09/2004 (9)" #include "ftmax.h" #include "fluidsynth.h" @@ -1473,8 +1474,8 @@ fluidmax_new(Symbol *s, short ac, Atom *at) if(self->settings != NULL) { - fluid_settings_setnum(self->settings, "synth.midi-channels", midi_channels); - fluid_settings_setnum(self->settings, "synth.polyphony", polyphony); + fluid_settings_setint(self->settings, "synth.midi-channels", midi_channels); + fluid_settings_setint(self->settings, "synth.polyphony", polyphony); fluid_settings_setnum(self->settings, "synth.gain", 0.600000); fluid_settings_setnum(self->settings, "synth.sample-rate", sys_getsr()); diff --git a/fluidsynth/bindings/fluidmax/fluidmax.mcp b/fluidsynth/bindings/fluidmax/fluidmax.mcp index b49cf2a0daf82dfa94b0357b9f03e91b8871deb7..712146c0cc11f358aa6020f8f8d6230bbb6a3b85 100644 GIT binary patch delta 263 zcmca|gJaEe4w2;i{2T@b24)5ZMhylg^(72U8fO-YICBS;=9OgTrYe}|nQmv~V!X$+ z`LFBKMUyAhn{AeO$<8>PU7AUnV{cNY0|SHP?9CT1{bt;*D$69nBnmW%fgfTb1JB;1 zo*N7d346CE$TNvDZI*x4Cbivr3!@10!~lVIO+Lo$ntV(Of{gq?1DKe$pIXD%$iBT) zktu_PncliGfK6=Mr$yCxswc1=De1wnDJaSZ$rV;Ok%JQF$h z|NsB