Improved mixer sort/compare interface.

This commit is contained in:
Jaroslav Kysela 2001-02-12 18:10:31 +00:00
parent 6f3b01b79c
commit 515d1a6415
3 changed files with 70 additions and 18 deletions

View file

@ -71,7 +71,9 @@ struct _snd_mixer {
struct list_head slaves; /* list of all slaves */
struct list_head classes; /* list of all elem classes */
struct list_head elems; /* list of all elems */
snd_mixer_elem_t **pelems; /* array of all elems */
unsigned int count;
unsigned int alloc;
unsigned int events;
snd_mixer_callback_t callback;
void *callback_private;