[alsa-devel] [PATCH 1/2] ALSA: usb-audio: ignore delay calculation for capture stream

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Dec 10 22:33:56 CET 2012

>> 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? ;)

here's a suggestion. Since we don't submit multiple URBs as in the 
playback case, we can only track the delay using the frame counter for a 
single URB, and we reset the counters when the URB is retired.
Did a couple of tests, seems to work ok.
I couldn't figure out if the related patches are already in git, I 
didn't find them. Takashi, did you merge them already?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb_delay.patch
Type: text/x-patch
Size: 1578 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121210/eb216903/attachment.bin>

More information about the Alsa-devel mailing list