From owner-freebsd-multimedia Mon Feb 16 01:43:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08635 for freebsd-multimedia-outgoing; Mon, 16 Feb 1998 01:43:34 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08618 for ; Mon, 16 Feb 1998 01:43:32 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id AAA23202; Mon, 16 Feb 1998 00:50:59 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199802160850.AAA23202@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: scottm@cs.ucla.edu (Scott Michel), freebsd-multimedia@FreeBSD.ORG Subject: Re: SNDCTL_DSP_SUBDIVIDE In-reply-to: Your message of "Mon, 16 Feb 1998 08:06:27 +0100." <199802160706.IAA27462@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Feb 1998 00:50:59 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > The latter is something the application should _not_ do since the > amount of kernel buffering depends on a variety of factors (audio > hw, avai. memory, CPU speed, system load, etc.) which the application > has no way to know, and is better left to the driver. > > On top of this, few if any applications are prepared to handle > situations where the kernel says "sorry I cannot handle this request". > > The sensible way to operate would be, in my opinion, to let the kernel > use how much buffering it decides to, and check the amount of queued > data before writing, if one really wants to keep queues short. > > I wish I could turn the clock one year right before the new sound driver project started. It is teaching this old man a good lesson. Good Nite, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message