Skip to content

Commit cbd2712

Browse files
larsclausengregkh
authored andcommitted
ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
commit 0f306cc upstream. For the RODE NT-USB the lowest Playback mixer volume setting mutes the audio output. But it is not reported as such causing e.g. PulseAudio to accidentally mute the device when selecting a low volume. Fix this by applying the existing quirk for this kind of issue when the device is detected. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220311201400.235892-1-lars@metafoo.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0ae81ef commit cbd2712

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

sound/usb/mixer_quirks.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,9 +3135,10 @@ void snd_usb_mixer_fu_apply_quirk(struct usb_mixer_interface *mixer,
31353135
if (unitid == 7 && cval->control == UAC_FU_VOLUME)
31363136
snd_dragonfly_quirk_db_scale(mixer, cval, kctl);
31373137
break;
3138-
/* lowest playback value is muted on C-Media devices */
3139-
case USB_ID(0x0d8c, 0x000c):
3140-
case USB_ID(0x0d8c, 0x0014):
3138+
/* lowest playback value is muted on some devices */
3139+
case USB_ID(0x0d8c, 0x000c): /* C-Media */
3140+
case USB_ID(0x0d8c, 0x0014): /* C-Media */
3141+
case USB_ID(0x19f7, 0x0003): /* RODE NT-USB */
31413142
if (strstr(kctl->id.name, "Playback"))
31423143
cval->min_mute = 1;
31433144
break;

0 commit comments

Comments
 (0)