From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Stary Newsgroups: gmane.comp.audio.sox.devel Subject: Re: Adjusting write buffer for recording Date: Mon, 12 Aug 2013 08:09:34 +0200 Message-ID: <20130812060933.GA6491@www.stare.cz> References: <20130811171034.GB26948@www.stare.cz> 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 1376287788 19373 80.91.229.3 (12 Aug 2013 06:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2013 06:09:48 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Mon Aug 12 08:09:50 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org X-ACL-Warn: Mail-Followup-To: sox-devel@lists.sourceforge.net Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.8 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -2.8 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1V8lK2-0004Ly-32 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:312 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V8lK9-0006nD-KY for gcasd-sox-devel@m.gmane.org; Mon, 12 Aug 2013 08:09:49 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V8lK7-0007rd-Vx; Mon, 12 Aug 2013 06:09:48 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V8lK7-0007rY-6U for sox-devel@lists.sourceforge.net; Mon, 12 Aug 2013 06:09:47 +0000 Received: from mx.stare.cz ([79.98.77.229] helo=www.stare.cz) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1V8lK2-0004Ly-32 for sox-devel@lists.sourceforge.net; Mon, 12 Aug 2013 06:09:47 +0000 Received: from www.stare.cz (localhost [127.0.0.1]); by www.stare.cz (OpenSMTPD) with ESMTP id 5c0b541a; for ; Mon, 12 Aug 2013 08:09:34 +0200 (CEST) On Aug 11 22:11:44, shane.blaser@callfire.com wrote: > Rec writes to a file I watch the file. > I listen to the sound coming in and watch the file size. So you are calling stat(2) in a loop or what? That itself would introduce a delay. > There is a period of silence > then when volume rises the file is written to. Yes, that's what the 'silence' effect does. That's what you want, right? > But this introduces a delay I can not afford Well, if there is a half hour of 'silence', there will be a half hour pause in writing to the file of course. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk