fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Instance creation


From: Marcus Weseloh
Subject: Re: [fluid-dev] Instance creation
Date: Sun, 26 Mar 2017 11:50:32 +0200

Hi Anuj,

2017-03-26 8:00 GMT+02:00 Anuj Deshpande <address@hidden>:

>   /* Set the synthesizer settings, if necessary */
>   printf("Creating new synth .. \r\n");
>   synth = new_fluid_synth(settings);
>   printf("Creating new audio driver.. \r\n");
>   fluid_settings_setstr(settings, "audio.driver", "coreaudio");
>   adriver = new_fluid_audio_driver(settings, synth);

Make sure to check the return values from the FluidSynth API calls, they return FLUID_ERR on error. If adriver returns successfully, you should see an additional thread (possibly with higher priority) in your process.

Cheers,

   Marcus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]