Mercurial > audlegacy-plugins
diff src/alsa-ng/alsa-core.c @ 3180:2e7a64bb33cd
alsa-ng: Remove debug notice.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 11 Jun 2009 20:18:31 -0500 |
parents | 4634dab72608 |
children | dc22f5fa8f2f |
line wrap: on
line diff
--- a/src/alsa-ng/alsa-core.c Thu Jun 11 05:22:22 2009 -0500 +++ b/src/alsa-ng/alsa-core.c Thu Jun 11 20:18:31 2009 -0500 @@ -54,10 +54,8 @@ snd_mixer_selem_id_set_name(selem_id, name); elem = snd_mixer_find_selem(mixer, selem_id); - if (elem == NULL) { - _ERROR("Requested mixer element %p/%s not found", mixer, name); + if (elem == NULL) return NULL; - } snd_mixer_selem_set_playback_volume_range(elem, 0, 100);