From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre-Louis Bossart Subject: Re: [PATCH 1/2] ALSA: usb-audio: ignore delay calculation for capture stream Date: Mon, 26 Nov 2012 08:24:16 -0600 Message-ID: <50B37B90.7020403@linux.intel.com> References: <1353684108-16669-1-git-send-email-tiwai@suse.de> <1353684108-16669-2-git-send-email-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by alsa0.perex.cz (Postfix) with ESMTP id D245F2650ED for ; Mon, 26 Nov 2012 15:24:18 +0100 (CET) In-Reply-To: <1353684108-16669-2-git-send-email-tiwai@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 11/23/2012 09:21 AM, Takashi Iwai wrote: > It doesn't make sense to calculate the delay for capture streams in > the current implementation. It's always zero, so we should skip the > computation in snd_usb_pcm_pointer() in the case of capture. Shouldn't we add support for delay on the capture path instead? We could use the same frame counter to report the delay and resync when the urb is retired. -Pierre