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". :-)
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to