From 246c930afb844f05d644d0a77e9eae8ec359ddbd Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 14 Feb 2001 13:08:49 +0000 Subject: [PATCH] elem_count -> get_count --- alsamixer/alsamixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);