[alsa-devel] [PATCH - Fix Fast Track Ultra series: 44.1/88.1 kHz 1/Fix playback/capture issues and related chrashes at 44100 Hz and 88200 Hz for M-Audio Fast Track Ultra series.

Clemens Ladisch clemens at ladisch.de
Thu Jul 8 08:25:26 CEST 2010


Felix Homann wrote:
> Building Alsa fails after applying your patch:
> 
> patching file quirks.c
> Hunk #2 FAILED at 159.

My patch was against the kernel source; the alsa-driver package
needs this additional patch:

--- alsa-driver/usb/quirks.patch
+++ alsa-driver/usb/quirks.patch
@@ -15,9 +15,9 @@
 +#else
 +	fp->maxpacksize = get_endpoint(alts, 0)->wMaxPacketSize;
 +#endif
+ 	print_hex_dump_bytes("format ", DUMP_PREFIX_OFFSET, fp, sizeof(*fp));
  	usb_set_interface(chip->dev, fp->iface, 0);
  	snd_usb_init_pitch(chip, fp->iface, alts, fp);
- 	snd_usb_init_sample_rate(chip, fp->iface, alts, fp, fp->rate_max);
 @@ -228,7 +234,11 @@
  	fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
  	fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;



More information about the Alsa-devel mailing list