Commit 2aad272b authored by Eldad Zack's avatar Eldad Zack Committed by Takashi Iwai

ALSA: usb-audio: correct M-Audio C400 clock source quirk

Taking another look at the C400 descriptors, I see now that there is
a clock selector (0x80) for this device.
Right now, the clock source points to the internal clock (0x81), which
is also valid. When the external clock source (0x82) is selected in the
mixer, and the rates mismatch (if it's free-running it is fixed to
48KHz), xruns will occur.

Set the clock ID to the clock selector unit (0x81), which then
allows the validation code to function correctly.
Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b98ae272
...@@ -2289,7 +2289,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2289,7 +2289,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
.rate_table = (unsigned int[]) { .rate_table = (unsigned int[]) {
44100, 48000, 88200, 96000 44100, 48000, 88200, 96000
}, },
.clock = 0x81, .clock = 0x80,
} }
}, },
/* Capture */ /* Capture */
...@@ -2315,7 +2315,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), ...@@ -2315,7 +2315,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
.rate_table = (unsigned int[]) { .rate_table = (unsigned int[]) {
44100, 48000, 88200, 96000 44100, 48000, 88200, 96000
}, },
.clock = 0x81, .clock = 0x80,
} }
}, },
/* MIDI */ /* MIDI */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment