From f2b74602c8c30fa6dd793a2477f1ea1ce8a057f2 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 22 Apr 2008 19:25:05 +0200 Subject: Various plugins don't support "hint" sections Ignore hint sections defined by hand. Those are heplful to get listed in various places, such as aplay -L ALSA bug#3834: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3834 Signed-off-by: Takashi Iwai --- oss/pcm_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oss/pcm_oss.c') diff --git a/oss/pcm_oss.c b/oss/pcm_oss.c index 847721b..16ba1f0 100644 --- a/oss/pcm_oss.c +++ b/oss/pcm_oss.c @@ -364,7 +364,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(oss) const char *id; 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, "device") == 0) { if (snd_config_get_string(n, &device) < 0) { -- cgit