From fac74788c19f3cb593aadd5e1488abfbc42b1ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Tue, 11 May 2021 20:24:00 +0200 Subject: [PATCH] rnnoise.c: ignore hint field in pcm --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 88ae0b4..c923b5c 100644 --- a/src/main.c +++ b/src/main.c @@ -180,7 +180,8 @@ SND_PCM_PLUGIN_DEFINE_FUNC(rnnoise) { 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, "slave") == 0) { -- 2.45.2