[PATCH 1/2] ALSA: usb-audio: Improve frames size computation

Alexander Tsoy alexander at tsoy.me
Fri Apr 24 18:43:58 CEST 2020


В Пт, 24/04/2020 в 17:02 +0200, Gregor Pintar пишет:
> On Fri, Apr 24, 2020 at 4:24 AM Alexander Tsoy <alexander at tsoy.me>
> wrote:
> > This patch fixes this issue by implementing a different algorithm
> > for
> > frame size computation. It is based on accumulating of the
> > remainders
> > from division fs/fps and it doesn't accumulate errors over time.
> > This
> > new method is enabled for synchronous and adaptive playback
> > endpoints.
> > 
> 
> Hm, I still sometimes get click usually in about first 2 seconds,
> but it is hard to reproduce.

I wonder if it's because the driver doesn't honor wLockDelay. Anyway,
the second patch can be reverted if there are still issues with 2nd gen
Scarletts.



More information about the Alsa-devel mailing list