From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: then there was "overrun" occue every time once trigger the audio recording Date: Fri, 06 Jul 2012 09:17:29 +0200 Message-ID: <4FF69109.4060705@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id D9CA6243B1 for ; Fri, 6 Jul 2012 09:17:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7767D2101C for ; Fri, 6 Jul 2012 03:17:30 -0400 (EDT) Received: from [10.1.2.65] (unknown [94.101.37.4]) by mail.messagingengine.com (Postfix) with ESMTPA id 184B38E01F7 for ; Fri, 6 Jul 2012 03:17:29 -0400 (EDT) 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org (please configure your mailer to wrap lines) Zhen Fu wrote: > When I use arecord command, then there was "overrun" occue every time > once trigger the audio recording. I have no clue of alsa driver when > and how handler xrun. In other words, how to understand function > snd_pcm_update_hw_ptr0 in pcm_lib.c. It behaves pretty much the same for playback and capture, so I refer the honourable gentleman to the reply I gave some moments ago. If you want a more specific answer, it might be a good idea not to keep the hardware and your driver source code a secret. Regards, Clemens