From: Mark Brown Subject: Re: possible problem in s3c24xx-pcm.c in git-devel branch Date: Mon, 17 Nov 2008 11:00:10 +0000 Message-ID: <20081117110009.GA1559@sirena.org.uk> References: <20081113151701.GG31592@sirena.org.uk> <20081113160936.GH31592@sirena.org.uk> <20081114124640.GB25307@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id 439402438E for ; Mon, 17 Nov 2008 12:00:13 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: christian pellegrin Cc: David Anders , alsa-devel@alsa-project.org, Ben Dooks List-Id: alsa-devel@alsa-project.org On Fri, Nov 14, 2008 at 05:20:35PM +0100, christian pellegrin wrote: > initially loading but I remembered that there were only 2 buffers > loaded because the lower level dma enqueue function returned error > after that. I never saw problems with aplay and madplay. No errors were being returned - the problems were all in the audio output but the applications weren't aware of this. > I will try to do some changes in that code but my worry is how to know > how many periods are filled with data for sure by the upper ALSA > layers (I'm not an expert in ASLA as you can see). It's really up to the application how much data it tries to provide.