[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] increase gain?
From: |
Josh Green |
Subject: |
Re: [fluid-dev] increase gain? |
Date: |
Tue, 21 Dec 2004 11:54:26 -0800 |
> #include <fluidsynth.h>
> #include <stdlib.h>
>
> int main(int argc, char** argv)
> {
> fluid_settings_t* settings;
> fluid_synth_t* synth;
> fluid_audio_driver_t* adriver;
> ...
> /* Create the settings. */
> settings = new_fluid_settings();
> /* Change the settings if necessary*/
> fluid_synth_setnum( synth, "synth.gain", 5.0);
> /* Create the synthesizer. */
> synth = new_fluid_synth(settings);
> ...
> /* compile was clean, but ... */
>
Looks like fluid_synth_setnum is being called on synth before it has
been instantiated. Perhaps you want fluid_settings_setnum() instead.
Josh
signature.asc
Description: This is a digitally signed message part