mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Cached compare weight for hctl_elem too
This commit is contained in:
parent
eed38f2157
commit
fa51799255
2 changed files with 92 additions and 89 deletions
|
|
@ -55,6 +55,7 @@ struct _snd_ctl {
|
|||
struct _snd_hctl_elem {
|
||||
snd_ctl_elem_id_t id; /* must be always on top */
|
||||
struct list_head list; /* links for list of all helems */
|
||||
int compare_weight; /* compare weight (reversed) */
|
||||
/* event callback */
|
||||
snd_hctl_elem_callback_t callback;
|
||||
void *callback_private;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue