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-Patches-3607111 ] [patch] Ogg Opus support (read-only) Date: Wed, 06 Mar 2013 19:24:46 -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 1362626686 2626 80.91.229.3 (7 Mar 2013 03:24:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Mar 2013 03:24:46 +0000 (UTC) To: SourceForge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Thu Mar 07 04:25:11 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=gtW4VhB1mtC8L9abV+FM5Ddv1bMkPUqRXzT9K5cOguU=; b=QmEaGJZtleOXHds7kpsE1xtOtbQ3p/JfKNz+CAbH8m5r646Jj6qsnoe4D3CN42+ud3gB6bT2JRH/vZ7/Gav8lQAzUb5Tqd2Y4HM2v4in6bCa0zyHF8sF0HO5Yjp1XF8NcebEmyxsbusRvwt/gJ0nbWzEE0H8h+ro8PCjd6NguRg=; Received-SPF: neutral (sog-mx-2.v43.ch3.sourceforge.com: 172.29.29.66 is neither permitted nor denied by domain of sourceforge.net) client-ip=172.29.29.66; envelope-from=noreply@sourceforge.net; helo=localhost; X-SourceForge-Tracker-unixname: sox X-SourceForge-Tracker-trackerid: 310706 X-SourceForge-Tracker-itemid: 3607111 X-SourceForge-Tracker-itemstatus: Open X-SourceForge-Tracker-itemassignee: nobody X-SourceForge-Tracker-itemupdate-reason: Tracker Item Submitted X-SourceForge-Tracker-itemupdate-username: jstump91 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:266 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UDRSA-0007mB-JH for gcasd-sox-devel@m.gmane.org; Thu, 07 Mar 2013 04:25:10 +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 1UDRRn-0007aj-Uq; Thu, 07 Mar 2013 03:24:47 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UDRRm-0007ad-G7 for sox-devel@lists.sourceforge.net; Thu, 07 Mar 2013 03:24:46 +0000 Received: from sfs-web-6.v29.ch3.sourceforge.com ([172.29.29.66] helo=localhost) by sog-mx-2.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1UDRRm-0004Jz-Br; Thu, 07 Mar 2013 03:24:46 +0000 Patches item #3607111, was opened at 2013-03-06 19:24 Message generated for change (Tracker Item Submitted) made by jstump91 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310706&aid=3607111&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: John Stumpo (jstump91) Assigned to: Nobody/Anonymous (nobody) Summary: [patch] Ogg Opus support (read-only) Initial Comment: Here's a patch adding read-only support for Xiph's new Opus codec in an Ogg container (by convention, file extension .opus) using libopusfile. I based it on the existing Ogg Vorbis code; libopusfile and libvorbisfile have a lot in common about their APIs. I was going to give it write support too, but there are numerous annoying things about doing this (for example, you must serialize the stream headers and packetize the audio yourself), and I didn't feel like doing that (or swiping opus-tools's code for it). All I really wanted to do was become able to play .opus files using play anyway, so I gave up on the write support. Maybe I might do it later (or someone else could). Note that I had to add -Wno-long-long to CFLAGS to get it to build without warnings. The warnings without it are all due to the Opus header files, so there isn't really anything else I can do. They aren't treated as system headers since they're found using a -I option obtained from pkg-config. My modifications to each file may be used under the same license as the respective original files. For opus.c, this is the same permissive license as vorbis.c. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310706&aid=3607111&group_id=10706 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev