From: Raymond Yau Subject: Re: hw_ptr accuracy with intel8x0 -> PulseAudio issue Date: Sat, 5 Dec 2009 10:17:07 +0800 Message-ID: <4f3252890912041817u7ab83a3eh7643476d64d709f3@mail.gmail.com> References: <6160a5130912020115t45bd4635hceb0ac3de4fb1efe@mail.gmail.com> <4f3252890912021826g732292ecv8959a7cfbf574446@mail.gmail.com> <6160a5130912030828m5b2401f3w31a67b6b51e8d8b6@mail.gmail.com> <4f3252890912031442i56ccc905g935a4d6ed48f40c6@mail.gmail.com> <6160a5130912031650u5949c921jc86d0847b2844803@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pz0-f184.google.com (mail-pz0-f184.google.com [209.85.222.184]) by alsa0.perex.cz (Postfix) with ESMTP id 25B542443D for ; Sat, 5 Dec 2009 03:17:08 +0100 (CET) Received: by pzk14 with SMTP id 14so2929759pzk.23 for ; Fri, 04 Dec 2009 18:17:08 -0800 (PST) In-Reply-To: <6160a5130912031650u5949c921jc86d0847b2844803@mail.gmail.com> 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 2009/12/4 pl bossart > >> 17. hwptr 24351 buffer 16384 appl 24332, avail=16403 > > > > appl pointer is behind hwprtr ( underrun ) , need timestamp to find out > > whether PA is unable to write audio data in time since > > I commented out the portion of the code that increases the watermark and > clamped the number of available samples to the buffer size, and it works > just fine, no audio > underflows. > Do you mean that the underrun is related the the portion of code that increase the watermark (i.e It is a pulseaudio bug instead of driver bug ) ?