Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread josh
Quoting David Henningsson : j...@resonance.org wrote: example). Another option would be to add a function to query the current preset info, without having to retrieve the preset, something like: fluid_synth_channel_preset_info (synth, chan, &name, &bank, &program); Before you dig into

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread David Henningsson
j...@resonance.org wrote: example). Another option would be to add a function to query the current preset info, without having to retrieve the preset, something like: fluid_synth_channel_preset_info (synth, chan, &name, &bank, &program); Before you dig into even more details, can't the exist

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread josh
Quoting Rui Nuno Capela : Sounds good. How about adding a size field to, so that there can be potential future extensions to fluid_preset_info_t. Example: fluid_preset_info_t info; fluid_synth_get_channel_preset_info(synth, chan, &info, sizeof (info)); omg, that additional size argument jus

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread Rui Nuno Capela
j...@resonance.org wrote: > Quoting Rui Nuno Capela : >> j...@resonance.org wrote: >>> >>> I notice that QSynth makes use of fluid_synth_get_channel_preset(). >>> There have been a number of thread safety issues with FluidSynth, many >>> of which have been fixed in 1.1.0. The issue with that parti

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread josh
Quoting Rui Nuno Capela : j...@resonance.org wrote: I notice that QSynth makes use of fluid_synth_get_channel_preset(). There have been a number of thread safety issues with FluidSynth, many of which have been fixed in 1.1.0. The issue with that particular function, is that presets are allocat

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread Rui Nuno Capela
j...@resonance.org wrote: > > I notice that QSynth makes use of fluid_synth_get_channel_preset(). > There have been a number of thread safety issues with FluidSynth, many > of which have been fixed in 1.1.0. The issue with that particular > function, is that presets are allocated when they are a

Re: [fluid-dev] Qsynth broken with FluidSynth 1.1.0

2009-11-07 Thread josh
Hello Rui, I notice that QSynth makes use of fluid_synth_get_channel_preset(). There have been a number of thread safety issues with FluidSynth, many of which have been fixed in 1.1.0. The issue with that particular function, is that presets are allocated when they are assigned to a cha