From owner-freebsd-ports@FreeBSD.ORG Tue Mar 5 12:03:25 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 575C776F; Tue, 5 Mar 2013 12:03:25 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-ia0-x22b.google.com (mail-ia0-x22b.google.com [IPv6:2607:f8b0:4001:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 2244B9D0; Tue, 5 Mar 2013 12:03:25 +0000 (UTC) Received: by mail-ia0-f171.google.com with SMTP id z13so6002383iaz.30 for ; Tue, 05 Mar 2013 04:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=c87XKN2oIKi5dxONwpgnekWNdZk7+OA2Zc8PvT7hEyw=; b=cbR5l2xRXPpIfYIoJzi6uD1t5fMo3rkLwE/MTy8wWA7UpuAee/cK78KkrDVKCK0OWs bjMLULj4vsHqpc5WC8a17FdkmFg7U2vbSGyPRH5lG49Av3h+RtSgWSsaFNpbdmkouOdL T164fdP/dWC+xdT6AXfNUwJkSXHdq+1GuAH2B5cDE1ej76MP5dgPVcpymQs4Dc19NGUm SgXfIHKbd8hPjtQ1SHZMtC+GJWB/mrEaRHhpIV7NmomlVJB1odJdE23azR/pe6Bnb5qD zYG6QyXbqVgjXsgCVppHk0iZrn20w7ucNQ4chPXE1uAqtqOqs+W4Mc2xU7sisPB7o1aa DQVw== X-Received: by 10.50.88.233 with SMTP id bj9mr5895072igb.55.1362485004573; Tue, 05 Mar 2013 04:03:24 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id ih1sm15254006igc.3.2013.03.05.04.03.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Mar 2013 04:03:23 -0800 (PST) Message-ID: <5135DF07.7070807@gmail.com> Date: Tue, 05 Mar 2013 06:03:19 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: audio/audacity still does not compile due to issues with soundtouch References: <5135779D.1000100@gmail.com> <51357D48.9040308@gmail.com> <5135DE27.9050508@FreeBSD.org> In-Reply-To: <5135DE27.9050508@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Ports @ FreeBSD" , xxjack12xx@gmail.com 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 12:03:25 -0000 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