Skip to content

Commit 8abf41d

Browse files
swensontiwai
authored andcommitted
ALSA: usb-audio: Set 48 kHz rate for Rodecaster
Like the Line6 devices, the Rode Rodecaster Pro does not support UAC2_CS_RANGE and only supports a sample rate of 48 kHz. Tested against a Rode Rodecaster Pro. Tested-by: Christopher Swenson <[email protected]> Signed-off-by: Christopher Swenson <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent c9808bb commit 8abf41d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sound/usb/format.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,9 @@ static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip,
394394
return nr_rates;
395395
}
396396

397-
/* Line6 Helix series don't support the UAC2_CS_RANGE usb function
398-
* call. Return a static table of known clock rates.
397+
/* Line6 Helix series and the Rode Rodecaster Pro don't support the
398+
* UAC2_CS_RANGE usb function call. Return a static table of known
399+
* clock rates.
399400
*/
400401
static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip,
401402
struct audioformat *fp)
@@ -408,6 +409,7 @@ static int line6_parse_audio_format_rates_quirk(struct snd_usb_audio *chip,
408409
case USB_ID(0x0e41, 0x4248): /* Line6 Helix >= fw 2.82 */
409410
case USB_ID(0x0e41, 0x4249): /* Line6 Helix Rack >= fw 2.82 */
410411
case USB_ID(0x0e41, 0x424a): /* Line6 Helix LT >= fw 2.82 */
412+
case USB_ID(0x19f7, 0x0011): /* Rode Rodecaster Pro */
411413
return set_fixed_rate(fp, 48000, SNDRV_PCM_RATE_48000);
412414
}
413415

0 commit comments

Comments
 (0)