Date: Tue, 05 Mar 2013 12:59:35 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: "Joseph A. Nagy, Jr" <jnagyjr1978@gmail.com>, xxjack12xx@gmail.com, "Ports @ FreeBSD" <freebsd-ports@freebsd.org> Subject: Re: audio/audacity still does not compile due to issues with soundtouch Message-ID: <5135DE27.9050508@FreeBSD.org> In-Reply-To: <51357D48.9040308@gmail.com> References: <5135779D.1000100@gmail.com> <51357D48.9040308@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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". :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5135DE27.9050508>