From: Takashi Iwai Subject: Re: fifo_size Date: Mon, 21 Nov 2005 11:21:52 +0100 Message-ID: References: <1132517980.9292.13.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx1.suse.de (mx1.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id CDD77C9 for ; Mon, 21 Nov 2005 11:21:52 +0100 (MET) In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jaroslav Kysela Cc: Adrian McMenamin , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 21 Nov 2005 11:11:49 +0100 (CET), Jaroslav Kysela wrote: > > On Mon, 21 Nov 2005, Takashi Iwai wrote: > > > At Sun, 20 Nov 2005 20:19:39 +0000, > > Adrian McMenamin wrote: > > > > > > Is it still the case that this member of the pcm_hardware_t is unused - > > > I am scanning through driver code where it has been set and wonder if > > > there is a use for it? > > > > Nothing, so far. > > I think we can remove this field, since it's misleading. > > I think that old ISA chips like CS4232 have FIFOs. The original purpose > for this field was to inform application about extra latency before the > signal goes out of soundcard (and versa vice for capture). There are known hardwares which have also internal FIFOs. The problem is that its size is not always in bytes but can be in frames or samples... > But yes, in > most cases we don't have any exact info about buffering / FIFO usage in > the soundchips, so we can rename this field as reserved and remove > functions from alsa-lib. We don't have to rename hw_params.fifo_size. The struct discussed here is snd_pcm_hardware, and this can be safely modified since it's an internal struct. Takashi ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click