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 program or in libsox? Date: Mon, 05 Aug 2013 18:25:32 +0200 Message-ID: <20130805182532.Horde.rL_uIJtJb_GjeK0uOVK-_w2@webmail.df.eu> References: <000d01ce9139$35bdaef0$a1390cd0$@symonics.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 1375719944 3923 80.91.229.3 (5 Aug 2013 16:25:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 16:25:44 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Mon Aug 05 18:25:44 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of chirlu.de designates 80.67.31.40 as permitted sender) client-ip=80.67.31.40; envelope-from=ulrich@chirlu.de; helo=smtprelay02.ispgateway.de; In-Reply-To: <000d01ce9139$35bdaef0$a1390cd0$@symonics.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. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.67.31.40 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1V6NbH-0006Cp-H0 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:306 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6NbM-0005b3-56 for gcasd-sox-devel@m.gmane.org; Mon, 05 Aug 2013 18:25:44 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V6NbK-0000ej-LO; Mon, 05 Aug 2013 16:25:42 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V6NbJ-0000ec-7h for sox-devel@lists.sourceforge.net; Mon, 05 Aug 2013 16:25:41 +0000 Received: from smtprelay02.ispgateway.de ([80.67.31.40]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1V6NbH-0006Cp-H0 for sox-devel@lists.sourceforge.net; Mon, 05 Aug 2013 16:25:41 +0000 Received: from [80.67.16.118] (helo=webmailfront01.ispgateway.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1V6NbA-00042p-NU; Mon, 05 Aug 2013 18:25:32 +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; Mon, 05 Aug 2013 18:25:32 +0200 Christian Hoene wrote: > the attached program converts a file to one channel and a sampling > rate of 8000. If the input is a stereo file, then the duration of > the output file is half of the duration of the input file. The last > half is missing. sox_add_effect() modifies its "in" parameter, which therefore must not be the same as that used by the input format handler. See this commit on how to fix it: https://github.com/uklauer/sox/commit/5fb5573e26bdac46be6953e0e0399d1a2aaeb350 Ulrich ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk