[alsa-devel] snd-usb-audio syncronisation problem

Adrian Stancu adrian.stancu.82 at gmail.com
Fri Feb 22 18:02:18 CET 2008


OK!

I *think* the 0202 USB is also in the same situation.
Thank you again!

Best regards,
Adi

On Fri, Feb 22, 2008 at 7:01 PM, Clemens Ladisch <clemens at ladisch.de> wrote:
> Adrian Stancu wrote:
>  > Yes!!! the feedback works correctly this way => perfect playback!
>  >
>  > what I had to do was:
>  >                 [...]
>  >                 f = combine_quad((u8*)urb->transfer_buffer) & 0x0fffffff;
>  >                 f /= 8;
>  >                 if (f >= subs->freqn - subs->freqn / 8 && f <= subs->freqmax) {
>  >                         spin_lock_irqsave(&subs->lock, flags);
>  >                         subs->freqm = f;
>  >                 [...]
>  >
>  > otherwise, the 'if' condition would still not be satisfied.
>
>  Oops.  Of course.
>
>
>  > Now, is there a way to incorporate this change into the driver without
>  > affecting functionality for other usb audio devices?
>
>  I'll write a quirk.
>
>
>  Regards,
>  Clemens
>


More information about the Alsa-devel mailing list