From owner-freebsd-ports@FreeBSD.ORG Tue Mar 5 11:59:43 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 633192F3 for ; Tue, 5 Mar 2013 11:59:43 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 28F6B925 for ; Tue, 5 Mar 2013 11:59:42 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a] (spaceball.andric.com [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6BA9F5C43; Tue, 5 Mar 2013 12:59:36 +0100 (CET) Message-ID: <5135DE27.9050508@FreeBSD.org> Date: Tue, 05 Mar 2013 12:59:35 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130117 Thunderbird/19.0 MIME-Version: 1.0 To: "Joseph A. Nagy, Jr" , xxjack12xx@gmail.com, "Ports @ FreeBSD" Subject: Re: audio/audacity still does not compile due to issues with soundtouch References: <5135779D.1000100@gmail.com> <51357D48.9040308@gmail.com> In-Reply-To: <51357D48.9040308@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 11:59:43 -0000 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". :-)