audio/audacity still does not compile due to issues with soundtouch

Dimitry Andric dim at FreeBSD.org
Tue Mar 5 11:59:43 UTC 2013


On 2013-03-05 06:06, Joseph A. Nagy, Jr wrote:
> On 03/04/13 22:42, Joseph A. Nagy, Jr wrote:
>> I am still having issues with Audacity trying to compile in soundtouch
>> plugins. Is this an issue with the port (there is no config option to
>> disable this behavior) or is it an upstream issue?
>
> Full error messages follow:
> effects/SoundTouchEffect.cpp:209:31: error: cannot initialize a
> parameter of type 'const SAMPLETYPE *'
>         (aka 'const short *') with an lvalue of type 'float *'
>         mSoundTouch->putSamples(buffer, block);
>                                 ^~~~~~
> /usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing
> argument to parameter 'samples' here
>               const SAMPLETYPE *samples,  ///< Pointer to sample buffer.
>                                 ^

It looks like you have configured the Soundtouch port with the
INTEGER_SAMPLES option.  In that case, Soundtouch defines SAMPLETYPE to
short, and apparently Audacity is hardcoded to expect float samples
instead.

Maybe this should be reported to Audacity, but I can imagine they would
say "Soundtouch must be configured with float samples". :-)


More information about the freebsd-ports mailing list