From: Jaroslav Kysela Date: Wed, 18 Apr 2001 14:29:02 +0000 (+0000) Subject: Fixed capture source handling X-Git-Tag: v1.0.3~882 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d16192f6f29f4940a0f0f892fef62e05b8d33f34;p=alsa-lib.git Fixed capture source handling --- diff --git a/src/mixer/simple.c b/src/mixer/simple.c index 95cc02fe..a430f794 100644 --- a/src/mixer/simple.c +++ b/src/mixer/simple.c @@ -1,4 +1,4 @@ -/** +/* * \file mixer/simple.c * \author Jaroslav Kysela * \author Abramo Bagnara @@ -442,6 +442,8 @@ static int selem_write(snd_mixer_elem_t *elem) } if ((err = snd_hctl_elem_write(c->elem, &ctl)) < 0) return err; + /* update the element, don't remove */ + return selem_read(elem); } return 0; }