mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 06:25:44 +01:00
elem_count -> get_count
This commit is contained in:
parent
c4212d7496
commit
246c930afb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue