From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: SourceForge.net Newsgroups: gmane.comp.audio.sox.devel Subject: [ sox-Bugs-2214717 ] sox_add_effect() should do basic error check on rate/channel Date: Mon, 18 Feb 2013 15:22:00 -0800 Message-ID: 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 1361229721 26355 80.91.229.3 (18 Feb 2013 23:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 23:22:01 +0000 (UTC) To: SourceForge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Tue Feb 19 00:22:23 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=beta; h=Message-Id:Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Reply-To:Subject:MIME-Version:Date:From:To; bh=r6F/xl5QbcEXed91S1FWZ6fOTkOmwA9RpMCOsjdi02w=; b=FfOVMI85MltMYEVwQuIoW+6xVuqgkS5Q6guxtIoEb1sfxalmKwYpzyBIYRvVbm/9HYkli/iiSO26sBer0AmmoPc5jVAw+WQAftNu8EZS+OlsACIqJUfkOpl3C3bivTkeIWLxtMdo1mY+SkRNoLSLBfdoFJa8YnVJC0EKMoClIRM=; Received-SPF: neutral (sog-mx-4.v43.ch3.sourceforge.com: 172.29.29.72 is neither permitted nor denied by domain of sourceforge.net) client-ip=172.29.29.72; envelope-from=noreply@sourceforge.net; helo=localhost; X-SourceForge-Tracker-unixname: sox X-SourceForge-Tracker-trackerid: 110706 X-SourceForge-Tracker-itemid: 2214717 X-SourceForge-Tracker-itemstatus: Open X-SourceForge-Tracker-itemassignee: nobody X-SourceForge-Tracker-itemupdate-reason: Comment added X-SourceForge-Tracker-itemupdate-username: uklauer Content-Disposition: inline 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:244 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7a2Q-00089u-E4 for gcasd-sox-devel@m.gmane.org; Tue, 19 Feb 2013 00:22:22 +0100 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 1U7a25-0004K8-L7; Mon, 18 Feb 2013 23:22:01 +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 1U7a24-0004Jz-93 for sox-devel@lists.sourceforge.net; Mon, 18 Feb 2013 23:22:00 +0000 Received: from sfs-web-12.v29.ch3.sourceforge.com ([172.29.29.72] helo=localhost) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1U7a24-00068P-57; Mon, 18 Feb 2013 23:22:00 +0000 Bugs item #2214717, was opened at 2008-11-01 14:24 Message generated for change (Comment added) made by uklauer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2214717&group_id=10706 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris Bagwell (cbagwell) Assigned to: Nobody/Anonymous (nobody) Summary: sox_add_effect() should do basic error check on rate/channel Initial Comment: It is possible to detect when the output of added effect is different # channels or rate then the output of the previous effect in the chain. It is an error case to insert in this case unless the add effect is marked as able to handle the conversion. We should add this error check in. Try "./example1 monkey.wav monkey.cdr" as an example of creating an invalid file that above fix would at least indicate to user that it can't be handled. ---------------------------------------------------------------------- >Comment By: Ulrich Klauer (uklauer) Date: 2013-02-18 15:22 Message: This hasn't changed. ---------------------------------------------------------------------- Comment By: bat (bat999) Date: 2013-02-18 14:32 Message: Hi This bug report was filed in 2008. Is the same problem in SoX v-14.4.1? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=2214717&group_id=10706 ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/