From afa8e0ab04c38414c8068d482409580401f82dad Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 23 Nov 2021 09:16:25 +0100 Subject: [PATCH] usb_stream: ignore hint section in configuration Fixes: https://github.com/alsa-project/alsa-plugins/issues/40 Signed-off-by: Jaroslav Kysela --- usb_stream/pcm_usb_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c index 33c93c5..02d2f43 100644 --- a/usb_stream/pcm_usb_stream.c +++ b/usb_stream/pcm_usb_stream.c @@ -474,7 +474,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(usb_stream) if (snd_config_get_id(n, &id) < 0) continue; - if (strcmp(id, "comment") == 0 || strcmp(id, "type") == 0) + if (strcmp(id, "comment") == 0 || strcmp(id, "type") == 0 || strcmp(id, "hint") == 0) continue; if (strcmp(id, "card") == 0) { card = snd_config_get_card(n); -- 2.47.1