From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hariharan Palanivel Newsgroups: gmane.comp.audio.sox.devel Subject: Calling sox Methods from JAVA Date: Thu, 5 Nov 2015 12:05:19 -0500 Message-ID: Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0467651576306431801==" X-Trace: ger.gmane.org 1446743143 9532 80.91.229.3 (5 Nov 2015 17:05:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2015 17:05:43 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Thu Nov 05 18:05:39 2015 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.213.175 as permitted sender) client-ip=209.85.213.175; envelope-from=hariharan.irt@gmail.com; helo=mail-ig0-f175.google.com; X-Received: by 10.50.20.105 with SMTP id m9mr4296862ige.45.1446743119845; Thu, 05 Nov 2015 09:05:19 -0800 (PST) X-Spam-Score: -0.6 (/) 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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (hariharan.irt[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1ZuNyX-0007S9-Ak 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:435 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZuNye-0006V8-G7 for gcasd-sox-devel@m.gmane.org; Thu, 05 Nov 2015 18:05:32 +0100 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 1ZuNyZ-000199-IN; Thu, 05 Nov 2015 17:05:27 +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 1ZuNyY-000193-62 for sox-devel@lists.sourceforge.net; Thu, 05 Nov 2015 17:05:26 +0000 Received: from mail-ig0-f175.google.com ([209.85.213.175]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZuNyX-0007S9-Ak for sox-devel@lists.sourceforge.net; Thu, 05 Nov 2015 17:05:26 +0000 Received: by igpw7 with SMTP id w7so15234902igp.1 for ; Thu, 05 Nov 2015 09:05:20 -0800 (PST) Received: by 10.107.4.193 with HTTP; Thu, 5 Nov 2015 09:05:19 -0800 (PST) --===============0467651576306431801== Content-Type: multipart/alternative; boundary=047d7bd75bacbd5f190523ce2145 --047d7bd75bacbd5f190523ce2145 Content-Type: text/plain; charset=UTF-8 Hi, I am new to SOX, my requirement is to find the lenght of audio files of any format.I know we have command line arguments where I can use sox or soxi to get the length.Instead of doing that I wanted to call the native method which does this. I have to call this C method from Java, I can use JNI to integrate with the C environment.What I wanted to know what is the method that I have to invoke for my requirement. I know its complex, any idea ? I need some light here. Thanks in advance. -Hari --047d7bd75bacbd5f190523ce2145 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am new to SOX, my requirement is = to find the lenght of audio files of any format.I know we have command line= arguments where I can use sox or soxi to get the length.Instead of doing t= hat I wanted to call the native method which does this.

I have to call this C method from Java, I can use JNI to integrate wi= th the C environment.What I wanted to know what is the method that I have t= o invoke for my requirement.

I know its complex, a= ny idea ? I need some light here.

Thanks in advanc= e.

-Hari
--047d7bd75bacbd5f190523ce2145-- --===============0467651576306431801== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============0467651576306431801== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel --===============0467651576306431801==--