Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348847
b: refs/heads/master
c: 83e3acd
h: refs/heads/master
i:
  348845: e5b40c3
  348843: 5ebfc7f
  348839: 419bfd0
  348831: 2a9edd5
v: v3
  • Loading branch information
Eldad Zack authored and Takashi Iwai committed Jan 14, 2013
1 parent a63ea21 commit bfe7054
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2aad272b3f458564f2d505465c88fcde37017ba0
refs/heads/master: 83e3acd494f47dc5dababfe6156c6178aca5c3a9
11 changes: 11 additions & 0 deletions trunk/sound/usb/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,17 @@ void snd_usb_endpoint_start_quirk(struct snd_usb_endpoint *ep)
if ((le16_to_cpu(ep->chip->dev->descriptor.idVendor) == 0x23ba) &&
ep->type == SND_USB_ENDPOINT_TYPE_SYNC)
ep->skip_packets = 4;

/*
* M-Audio Fast Track C400 - when packets are not skipped, real world
* latency varies by approx. +/- 50 frames (at 96KHz) each time the
* stream is (re)started. When skipping packets 16 at endpoint start
* up, the real world latency is stable within +/- 1 frame (also
* across power cycles).
*/
if (ep->chip->usb_id == USB_ID(0x0763, 0x2030) &&
ep->type == SND_USB_ENDPOINT_TYPE_DATA)
ep->skip_packets = 16;
}

void snd_usb_ctl_msg_quirk(struct usb_device *dev, unsigned int pipe,
Expand Down

0 comments on commit bfe7054

Please sign in to comment.