[alsa-devel] Need expert's advice - Fast Track Ultra (8R) dropping samples
clemens at ladisch.de
Fri Oct 1 18:29:15 CEST 2010
Felix Homann wrote:
> I guess the right place to fix the issues mentioned in my original post
> is in snd_usb_init_substream() in urb.c:
> case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
> subs->ops.prepare_sync = prepare_playback_sync_urb;
> subs->ops.retire_sync = retire_playback_sync_urb;
> I've tried combinations using the _hs and _emu versions of the
> retire.../prepare... functions. It either didn't change anything or made
> it worse. I guess we need _ftu versions.
> Could somebody at least tell me how to find out what's exactly going
> wrong with the sync.
Add an else to the inner if in retire_playback_sync_urb, and log the
value of f.
The value received in this function should be the desired sample
frequency, relative to the USB frame rate. There are different formats
(therefore we have three functions); maybe the FTU uses a fourth one.
More information about the Alsa-devel