summaryrefslogtreecommitdiff
path: root/src/pcm
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-16 22:20:01 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-17 10:01:25 +0200
commit7bebd4c980bb11cc31f8be73511baa544d4cb658 (patch)
tree8aa45b202293f69f21d9a99dc5a44302dd4ad899 /src/pcm
parent962d006c28273ceb16ef915ce077a3163d299f7f (diff)
downloadalsa-lib-7bebd4c980bb11cc31f8be73511baa544d4cb658.tar.gz
ctl: rename APIs to add an element set so that their names are appropriate
In this development period, some APIs have already been added. Most of them are to add an element set, while their names are not so appropriate against their feature. This is due to following to names of old APIs. This commit renames them. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src/pcm')
-rw-r--r--src/pcm/pcm_softvol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/pcm_softvol.c b/src/pcm/pcm_softvol.c
index 61357785..1fe5784d 100644
--- a/src/pcm/pcm_softvol.c
+++ b/src/pcm/pcm_softvol.c
@@ -671,9 +671,9 @@ static int add_user_ctl(snd_pcm_softvol_t *svol, snd_ctl_elem_info_t *cinfo,
unsigned int def_val;
if (svol->max_val == 1)
- err = snd_ctl_elem_add_boolean_set(svol->ctl, cinfo, 1, count);
+ err = snd_ctl_add_boolean_elem_set(svol->ctl, cinfo, 1, count);
else
- err = snd_ctl_elem_add_integer_set(svol->ctl, cinfo, 1, count,
+ err = snd_ctl_add_integer_elem_set(svol->ctl, cinfo, 1, count,
0, svol->max_val, 0);
if (err < 0)
return err;