From owner-freebsd-multimedia Tue Jun 18 0:28:18 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by hub.freebsd.org (Postfix) with SMTP id 8137C37B406 for ; Tue, 18 Jun 2002 00:28:12 -0700 (PDT) Received: (qmail 68825 invoked by uid 1001); 18 Jun 2002 07:28:11 -0000 Date: Tue, 18 Jun 2002 03:28:11 -0400 From: Brian Reichert To: multimedia@freebsd.org Subject: 'sox' and buffering Message-ID: <20020618032811.D64411@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm not certain of this is a 'sox' issue, or not, but here is the symptom I'm seeing: I've got sox reading a 'cdr'-type sound file via a FIFO. I've got a five-second ( ~860kb ) sound sample that I'm testing with. I've been able to verify with 'tee' that my sample is making it though the FIFO in it's entirety. When I tell sox to same that sample as a cdr (rather than playing it), I'm seeing a 21840-byte difference in size (about 1/8th of a second); sox is sitting on the data. :/ This is under FreeBSD 4.5-RELEASE with sox v 12.17.3 (from the package, not from ports.) Does anyone have any clue what might be going on? It there some magic sequence of bytes I can send down the pipe to coerce sox to finish processing my sample? I can explain in greater detail what I'm trying to accomplish, if you think I'm hiding important details... Thanks for any advice you might have... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message