Date: Tue, 05 Mar 2013 06:03:19 -0600 From: "Joseph A. Nagy, Jr" <jnagyjr1978@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: "Ports @ FreeBSD" <freebsd-ports@freebsd.org>, xxjack12xx@gmail.com Subject: Re: audio/audacity still does not compile due to issues with soundtouch Message-ID: <5135DF07.7070807@gmail.com> In-Reply-To: <5135DE27.9050508@FreeBSD.org> References: <5135779D.1000100@gmail.com> <51357D48.9040308@gmail.com> <5135DE27.9050508@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/05/13 05:59, Dimitry Andric wrote: > 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". :-) I will report it to Audacity, right after I rebuild soundtouch w/o integer samples selected as an option. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5135DF07.7070807>