From: Jaroslav Kysela Date: Wed, 14 Feb 2001 13:08:49 +0000 (+0000) Subject: elem_count -> get_count X-Git-Tag: v1.0.3~254 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=246c930afb844f05d644d0a77e9eae8ec359ddbd;p=alsa-utils.git elem_count -> get_count --- diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c index 2d5da1f..0e27be2 100644 --- a/alsamixer/alsamixer.c +++ b/alsamixer/alsamixer.c @@ -1270,7 +1270,7 @@ mixer_reinit (void) } if (mixer_sid != NULL) free(mixer_sid); - mixer_sid = malloc(snd_mixer_selem_id_sizeof() * snd_mixer_elem_count(mixer_handle)); + mixer_sid = malloc(snd_mixer_selem_id_sizeof() * snd_mixer_get_count(mixer_handle)); if (mixer_sid == NULL) mixer_abort (ERR_FCN, "malloc", 0);