From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt Flax Newsgroups: gmane.comp.audio.sox.devel Subject: 64bit audio read and write Date: Wed, 6 Jul 2016 10:02:34 +1000 Message-ID: <577C4A9A.2000105@flatmax.org> 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 1467765360 3133 80.91.229.3 (6 Jul 2016 00:36:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 00:36:00 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Wed Jul 06 02:35:48 2016 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org X-ACL-Warn: X-Authority-Analysis: v=2.1 cv=UKogZ3ry c=1 sm=1 tr=0 a=j2gF+hSnfl5JSr2jVBK1AQ==:117 a=j2gF+hSnfl5JSr2jVBK1AQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=cAmyUtKerLwA:10 a=kw-HnzVw7CCTJzqyQE8A:9 a=QEXdDO2ut3YA:10 a=H6N74G5-AjUA:10 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 X-Spam-Score: -1.0 (-) X-Spam-Report: Spam detection software, running on the system "meb", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Hi there, I currently use libsox to load and save audio data. I was wanting to write and read 64bit data, however the generic sox sample type is 32 bit (from sox.h) : typedef sox_int32_t sox_sample_t; [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1bKaoV-0003mv-8T 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:489 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKaob-00041q-Qd for gcasd-sox-devel@m.gmane.org; Wed, 06 Jul 2016 02:35:46 +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 1bKaoY-0001ZA-Bz; Wed, 06 Jul 2016 00:35:42 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bKaoW-0001Z5-Oq for sox-devel@lists.sourceforge.net; Wed, 06 Jul 2016 00:35:40 +0000 Received: from nskntqsrv01p.mx.bigpond.com ([61.9.168.231]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1bKaoV-0003mv-8T for sox-devel@lists.sourceforge.net; Wed, 06 Jul 2016 00:35:40 +0000 Received: from nskntcmgw08p ([61.9.169.168]) by nskntmtas01p.mx.bigpond.com with ESMTP id <20160706000235.PZUX2042.nskntmtas01p.mx.bigpond.com@nskntcmgw08p> for ; Wed, 6 Jul 2016 00:02:35 +0000 Received: from meb ([124.190.105.82]) by nskntcmgw08p with BigPond Outbound id FC2b1t00E1mhCic01C2b28; Wed, 06 Jul 2016 00:02:35 +0000 Received: from monstilationax2 ([192.168.0.51]) by meb with esmtp (Exim 4.84_2) (envelope-from ) id 1bKaM4-0006ak-T5 for sox-devel@lists.sourceforge.net; Wed, 06 Jul 2016 10:06:16 +1000 Hi there, I currently use libsox to load and save audio data. I was wanting to write and read 64bit data, however the generic sox sample type is 32 bit (from sox.h) : typedef sox_int32_t sox_sample_t; The basic format of the read (and write) functions are : size_t sox_read( sox_format_t * ft, sox_sample_t *buf, size_t len ); Can anyone tell me the basic methodology for reading/writing 64bit audio ? thanks Matt ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape