fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Can't build 1.1.2 with LADSPA


From: David Henningsson
Subject: Re: [fluid-dev] Can't build 1.1.2 with LADSPA
Date: Wed, 01 Sep 2010 10:17:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

2010-09-01 09:34, Matt Giuca skrev:
> Hi devs,
> 
> I just downloaded the 1.1.2 version of FluidSynth. I've tried to
> compile it with the following arguments:
> 
> ./configure --enable-ladspa
> make
> 
> I get this compiler error:
> 
> synth/fluid_synth.c: In function ‘fluid_synth_render_blocks’:
> synth/fluid_synth.c:3302: error: ‘fluid_synth_t’ has no member named 
> ‘left_buf’
> synth/fluid_synth.c:3302: error: ‘fluid_synth_t’ has no member named 
> ‘right_buf’
> synth/fluid_synth.c:3302: error: ‘fluid_synth_t’ has no member named
> ‘fx_left_buf’
> synth/fluid_synth.c:3302: error: ‘fluid_synth_t’ has no member named
> ‘fx_right_buf’
> 
> I don't really know what LADSPA is, 

It's a plugin system for effects.

> but the reason I'm using that
> argument is that the Debian package
> (http://packages.debian.org/unstable/sound/fluidsynth) turns this flag
> on by default.
> 
> It looks like line 3302 is:
> 
> fluid_LADSPA_run(synth->LADSPA_FxUnit, synth->left_buf,
> synth->right_buf, synth->fx_left_buf, synth->fx_right_buf);
> 
> but in synth/fluid_synth.h, they are commented out:
> 
> /*
>  fluid_real_t** left_buf;
>  fluid_real_t** right_buf;
>  fluid_real_t** fx_left_buf;
>  fluid_real_t** fx_right_buf;
> 
>  fluid_revmodel_t* reverb;
>  fluid_chorus_t* chorus;
> */
> 
> Hope there is an easy fix (like uncommenting those lines).

No, that won't work. The call should be moved to somewhere around
fluid_rvoice_mixer_process_fx and use the correct buffers instead.

The easy fix is to build without the --enable-ladspa flag. Sorry for the
inconvenience, currently nobody on this list is actively
requesting/using/testing LADSPA on FluidSynth.

// David



reply via email to

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