Quoting Rui Nuno Capela <[email protected]>:
int fluid_synth_get_channel_preset_info
(fluid_synth_t *synth, int chan, fluid_preset_info_t *info);


looks good enough.


I have a patch against QSynth 0.3.4 which adds support for the new API with backwards compatibility with older versions. I'll send it your way, once I know this API is here to stay.

re. assigned field, just one question: is there any official way (api) to
keep, force or (re)set one channel preset as unassigned ?



No it doesn't seem there is a way to set a single channel to unassigned with the public API. There is a private function called fluid_synth_set_preset, which could be used to set the preset to NULL, which would have the effect of setting it to unassigned, but that isn't much help in your case. How do you see this being useful?


byee
--
rncbc aka Rui Nuno Capela
[email protected]


Ciao!

Josh



_______________________________________________
fluid-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to