[alsa-devel] snd-usb-audio syncronisation problem
Clemens Ladisch
clemens at ladisch.de
Fri Feb 22 18:01:48 CET 2008
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