summaryrefslogtreecommitdiff
path: root/src/mixer/mixer_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer/mixer_local.h')
-rw-r--r--src/mixer/mixer_local.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mixer/mixer_local.h b/src/mixer/mixer_local.h
index 5910d0fa..ca53592c 100644
--- a/src/mixer/mixer_local.h
+++ b/src/mixer/mixer_local.h
@@ -49,7 +49,7 @@ typedef struct list_head *bag_iterator_t;
struct _snd_mixer_class {
struct list_head list;
snd_mixer_t *mixer;
- int (*event)(snd_mixer_class_t *class, snd_ctl_event_type_t event,
+ int (*event)(snd_mixer_class_t *class, unsigned int mask,
snd_hctl_elem_t *helem, snd_mixer_elem_t *melem);
void *private_data;
void (*private_free)(snd_mixer_class_t *class);
@@ -111,8 +111,7 @@ struct _snd_mixer_selem_value {
int snd_mixer_class_register(snd_mixer_class_t *class, snd_mixer_t *mixer);
int snd_mixer_add_elem(snd_mixer_t *mixer, snd_mixer_elem_t *elem);
int snd_mixer_remove_elem(snd_mixer_t *mixer, snd_mixer_elem_t *elem);
-int snd_mixer_elem_throw_event(snd_mixer_elem_t *elem,
- snd_ctl_event_type_t event);
+int snd_mixer_elem_throw_event(snd_mixer_elem_t *elem, unsigned int mask);
int snd_mixer_elem_add(snd_mixer_elem_t *elem, snd_mixer_class_t *class);
int snd_mixer_elem_remove(snd_mixer_elem_t *elem);
int snd_mixer_elem_change(snd_mixer_elem_t *elem);