Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/2] ALSA: usb-audio: ignore delay calculation for capture stream
Date: Mon, 26 Nov 2012 15:05:45 -0600	[thread overview]
Message-ID: <50B3D9A9.1000702@linux.intel.com> (raw)
In-Reply-To: <s5hr4ngh1u1.wl%tiwai@suse.de>


>>> 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.
>
> Sure, it must be possible like that way.
> Wouldn't you like to volunteer? ;)

Sounds like a good skunkworks for the end of the year...If we have both 
HDA and USB behaving correctly on delays, this would raise the bar for 
everyone.

  reply	other threads:[~2012-11-26 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 15:21 [PATCH 0/2] Fix usb-audio delay calculation Takashi Iwai
2012-11-23 15:21 ` [PATCH 1/2] ALSA: usb-audio: ignore delay calculation for capture stream Takashi Iwai
2012-11-26 14:24   ` Pierre-Louis Bossart
2012-11-26 14:32     ` Takashi Iwai
2012-11-26 21:05       ` Pierre-Louis Bossart [this message]
2012-12-10 21:33       ` Pierre-Louis Bossart
2012-12-12 11:26         ` Takashi Iwai
2012-11-23 15:21 ` [PATCH 2/2] ALSA: usb-audio: fix delay account during pause Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B3D9A9.1000702@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox