diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-04-22 19:25:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-06-06 15:54:12 +0200 |
commit | f2b74602c8c30fa6dd793a2477f1ea1ce8a057f2 (patch) | |
tree | 3e6995ec1fb12528ebd66d968fdb4358c6d77550 /mix/pcm_vdownmix.c | |
parent | 1a8645a9fe1f85421b3b906bd1fe355432e7c099 (diff) |
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 <tiwai@suse.de>
Diffstat (limited to 'mix/pcm_vdownmix.c')
-rw-r--r-- | mix/pcm_vdownmix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mix/pcm_vdownmix.c b/mix/pcm_vdownmix.c index a083ae2..d5648cf 100644 --- a/mix/pcm_vdownmix.c +++ b/mix/pcm_vdownmix.c @@ -295,7 +295,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(vdownmix) 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, "slave") == 0) { sconf = n; |