[alsa-devel] out of sync capture samples with MMAP on MIPS

Daniel Danzberger daniel at dd-wrt.com
Sun May 27 11:34:07 CEST 2018


On 05/25/2018 02:20 PM, Takashi Iwai wrote:> It's likely because of the cache
coherency issue on ARM.
> Currently USB-audio driver uses the buffer via vmalloc() for the
> intermediate buffer, and this may go out of sync on non-coherent arch
> like ARM.
> 
> Does the patch below help?  Not sure whether it works on ARM at all,
> as I've tested only on x86.
>Your patch works. I cannot reproduce the issue anymore. Thanks.


More information about the Alsa-devel mailing list