From: Takashi Iwai Subject: Re: Timer instability Date: Wed, 25 Feb 2009 12:04:01 +0100 Message-ID: References: <20090220012220.GA11526@tango.0pointer.de> <20090220203417.GA19093@tango.0pointer.de> <20090222031453.GA24365@tango.0pointer.de> <20090224184604.GA2253@tango.0pointer.de> <20090224192611.GC2253@tango.0pointer.de> <20090224211621.GA25412@tango.0pointer.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A2B3424445 for ; Wed, 25 Feb 2009 12:04:01 +0100 (CET) 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: Jaroslav Kysela Cc: alsa-devel@alsa-project.org, Lennart Poettering List-Id: alsa-devel@alsa-project.org At Wed, 25 Feb 2009 11:57:32 +0100 (CET), Jaroslav Kysela wrote: > > On Wed, 25 Feb 2009, Takashi Iwai wrote: > > > Anyway, the definitions of delay and avail in a free-wheel mode are > > ambiguous and rather confusing indeed... > > I don't agree. We manage appl_ptr also in no-XRUN check mode for ALSA > apps, so the negative values makes sense and applications can quickly > skip missed samples (snd_pcm_forward). Well, if we follow the definition of snd_pcm_delay(), applptr - delay doesn't always point to the position to write for the next. (Right now it works so, though). Takashi