|
From: | josh |
Subject: | Re: [fluid-dev] More commits on the way to 1.1.1 |
Date: | Mon, 16 Nov 2009 00:46:43 -0800 |
User-agent: | Internet Messaging Program (IMP) H3 (4.1.6) |
Quoting Rui Nuno Capela <address@hidden>:
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 address@hidden
Ciao! Josh
[Prev in Thread] | Current Thread | [Next in Thread] |