From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Klauer Newsgroups: gmane.comp.audio.sox.devel Subject: Re: Bug in noiseprof and solution Date: Tue, 23 Jul 2013 00:29:00 +0200 Message-ID: <20130723002900.Horde.NpPu7NUBoAJ9zThB74zZtw1@webmail.df.eu> References: <51ED91CD.9090605@ryxeo.com> Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374532294 4977 80.91.229.3 (22 Jul 2013 22:31:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2013 22:31:34 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Tue Jul 23 00:31:35 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of chirlu.de designates 80.67.31.36 as permitted sender) client-ip=80.67.31.36; envelope-from=ulrich@chirlu.de; helo=smtprelay02.ispgateway.de; In-Reply-To: <51ED91CD.9090605@ryxeo.com> User-Agent: Internet Messaging Program (IMP) H5 (6.0.4) Content-Disposition: inline X-Df-Sender: dWtsYXVlckBjaGlybHUuZGU= X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.67.31.36 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1V1OdU-0006iO-IN X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox.devel:303 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1Odh-0005nZ-QL for gcasd-sox-devel@m.gmane.org; Tue, 23 Jul 2013 00:31:34 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V1OdX-00041L-8E; Mon, 22 Jul 2013 22:31:23 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V1OdW-00041G-DL for sox-devel@lists.sourceforge.net; Mon, 22 Jul 2013 22:31:22 +0000 Received: from smtprelay02.ispgateway.de ([80.67.31.36]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V1OdU-0006iO-IN for sox-devel@lists.sourceforge.net; Mon, 22 Jul 2013 22:31:22 +0000 Received: from [80.67.16.121] (helo=webmailfront01.ispgateway.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1V1ObE-0002Ka-5a; Tue, 23 Jul 2013 00:29:00 +0200 Received: from 77-20-34-201-dynip.superkabel.de (77-20-34-201-dynip.superkabel.de [77.20.34.201]) by webmail.df.eu (Horde Framework) with HTTP; Tue, 23 Jul 2013 00:29:00 +0200 Eric Seigne wrote: > setlocale(LC_ALL, "C"); > juste before " e = sox_create_effect(sox_find_effect("noiseprof"));" > So is this bug resolved with last git version ? Well, your local locale is only set because you call setlocale() somewhere else in your program. SoX/libSoX never do that. I'd therefore think it is also your responsability to unset the locale (set to "C") when necessary, thus not consider it a bug. Ulrich ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk