Skip to contentSkip to conversation

ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

PATCH In review Eric Wong 2 participants 2 messages May 30, 2015 Sound

lore
Share & tools
lore

Eric Wong

author
#0 lore raw

PATCH 1/1 ALSA: usb-audio: don't try to get Outlaw RR2150 sample rate

This quirk allows us to avoid the noisy:

current rate 0 is different from the runtime rate

message every time playback starts. While USB DAC in the RR2150 supports reading the sample rate, it never returns a sample rate other than zero in my observation with common sample rates.

Cc Joe Turner <[email protected]>
Cc Takashi Iwai <[email protected]>
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)
sound/usb/quirks.c +1 -0
index 32631a8..2ea5b33 100644
@@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
 	case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
 	case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
 	case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
+	case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
 		return true;
 	}
 	return false;
Signature · 1 line
EW
#1 lore raw

At Sat, 30 May 2015 09:15:39 +0000,

Quoted 5 lines · Eric Wong

This quirk allows us to avoid the noisy:

current rate 0 is different from the runtime rate

Quoted 7 lines

message every time playback starts. While USB DAC in the RR2150 supports reading the sample rate, it never returns a sample rate other than zero in my observation with common sample rates.

Cc Joe Turner <[email protected]>
Cc Takashi Iwai <[email protected]>

Applied (with Cc to stable), thanks.

Takashi

Quoted 19 lines
---
 sound/usb/quirks.c | 1 +
 1 file changed, 1 insertion(+)
sound/usb/quirks.c +1 -0
index 32631a8..2ea5b33 100644
@@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
 	case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
 	case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
 	case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
+	case USB_ID(0x074D, 0x3553): /* Outlaw RR2150 (Micronas UAC3553B) */
 		return true;
 	}
 	return false;
Signature · 1 line
EW