Re: out of sync capture samples with MMAP on MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/27/2018 01:08 PM, Takashi Iwai wrote:
> On Sun, 27 May 2018 11:34:07 +0200,
> Daniel Danzberger wrote:
>>
>> 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.
> 
> Good to hear.  Below is the revised version, so that the behavior can
> be controlled via use_vmalloc option for snd-usb-audio module.
> Could you check whether this still works?

it works.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux