/third_party/alsa-lib/include/ |
D | mixer.h | 42 typedef struct _snd_mixer snd_mixer_t; typedef 55 typedef int (*snd_mixer_callback_t)(snd_mixer_t *ctl, 96 int snd_mixer_open(snd_mixer_t **mixer, int mode); 97 int snd_mixer_close(snd_mixer_t *mixer); 98 snd_mixer_elem_t *snd_mixer_first_elem(snd_mixer_t *mixer); 99 snd_mixer_elem_t *snd_mixer_last_elem(snd_mixer_t *mixer); 100 int snd_mixer_handle_events(snd_mixer_t *mixer); 101 int snd_mixer_attach(snd_mixer_t *mixer, const char *name); 102 int snd_mixer_attach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl); 103 int snd_mixer_detach(snd_mixer_t *mixer, const char *name); [all …]
|
/third_party/alsa-lib/src/mixer/ |
D | mixer.c | 68 int snd_mixer_open(snd_mixer_t **mixerp, int mode ATTRIBUTE_UNUSED) in snd_mixer_open() 70 snd_mixer_t *mixer; in snd_mixer_open() 170 snd_mixer_t *mixer = snd_hctl_get_callback_private(hctl); in hctl_event_handler() 198 int snd_mixer_attach(snd_mixer_t *mixer, const char *name) in snd_mixer_attach() 220 int snd_mixer_attach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) in snd_mixer_attach_hctl() 250 int snd_mixer_detach(snd_mixer_t *mixer, const char *name) in snd_mixer_detach() 274 int snd_mixer_detach_hctl(snd_mixer_t *mixer, snd_hctl_t *hctl) in snd_mixer_detach_hctl() 296 int snd_mixer_get_hctl(snd_mixer_t *mixer, const char *name, snd_hctl_t **hctl) in snd_mixer_get_hctl() 310 static int snd_mixer_throw_event(snd_mixer_t *mixer, unsigned int mask, in snd_mixer_throw_event() 327 static int _snd_mixer_find_elem(snd_mixer_t *mixer, snd_mixer_elem_t *elem, int *dir) in _snd_mixer_find_elem() [all …]
|
D | mixer_simple.h | 30 int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_… 33 int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd… 35 static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED, in snd_mixer_simple_basic_register()
|
D | simple_abst.c | 58 snd_mixer_t *mixer, 110 static int try_open_full(snd_mixer_class_t *class, snd_mixer_t *mixer, in try_open_full() 176 static int find_full(snd_mixer_class_t *class, snd_mixer_t *mixer, in find_full() 270 int snd_mixer_simple_basic_register(snd_mixer_t *mixer, in snd_mixer_simple_basic_register()
|
D | mixer_local.h | 47 snd_mixer_t *mixer;
|
D | simple.c | 50 int snd_mixer_selem_register(snd_mixer_t *mixer, in snd_mixer_selem_register() 133 snd_mixer_elem_t *snd_mixer_find_selem(snd_mixer_t *mixer, in snd_mixer_find_selem()
|
D | simple_none.c | 1720 int snd_mixer_simple_none_register(snd_mixer_t *mixer, in snd_mixer_simple_none_register()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-mixer.h | 106 snd_mixer_t *mixer_handle; 181 snd_mixer_t *mixer_handle; 267 int pa_alsa_path_probe(pa_alsa_path *p, pa_alsa_mapping *mapping, snd_mixer_t *m, bool ignore_dB); 269 int pa_alsa_path_get_volume(pa_alsa_path *p, snd_mixer_t *m, const pa_channel_map *cm, pa_cvolume *… 270 int pa_alsa_path_get_mute(pa_alsa_path *path, snd_mixer_t *m, bool *muted); 271 int pa_alsa_path_set_volume(pa_alsa_path *path, snd_mixer_t *m, const pa_channel_map *cm, pa_cvolum… 272 int pa_alsa_path_set_mute(pa_alsa_path *path, snd_mixer_t *m, bool muted); 273 int pa_alsa_path_select(pa_alsa_path *p, pa_alsa_setting *s, snd_mixer_t *m, bool device_is_muted); 274 void pa_alsa_path_set_callback(pa_alsa_path *p, snd_mixer_t *m, snd_mixer_elem_callback_t cb, void … 279 void pa_alsa_path_set_set_callback(pa_alsa_path_set *ps, snd_mixer_t *m, snd_mixer_elem_callback_t … [all …]
|
D | alsa-util.h | 151 snd_mixer_elem_t *pa_alsa_mixer_find_card(snd_mixer_t *mixer, struct pa_alsa_mixer_id *alsa_id, uns… 152 snd_mixer_elem_t *pa_alsa_mixer_find_pcm(snd_mixer_t *mixer, const char *name, unsigned int device); 154 snd_mixer_t *pa_alsa_open_mixer(pa_hashmap *mixers, int alsa_card_index, bool probe); 155 snd_mixer_t *pa_alsa_open_mixer_by_name(pa_hashmap *mixers, const char *dev, bool probe); 156 snd_mixer_t *pa_alsa_open_mixer_for_pcm(pa_hashmap *mixers, snd_pcm_t *pcm, bool probe); 157 void pa_alsa_mixer_set_fdlist(pa_hashmap *mixers, snd_mixer_t *mixer, pa_mainloop_api *ml);
|
D | alsa-util.c | 1613 static snd_mixer_elem_t *pa_alsa_mixer_find(snd_mixer_t *mixer, in pa_alsa_mixer_find() 1638 snd_mixer_elem_t *pa_alsa_mixer_find_card(snd_mixer_t *mixer, struct pa_alsa_mixer_id *alsa_id, uns… in pa_alsa_mixer_find_card() 1642 snd_mixer_elem_t *pa_alsa_mixer_find_pcm(snd_mixer_t *mixer, const char *name, unsigned int device)… in pa_alsa_mixer_find_pcm() 1690 static int prepare_mixer(snd_mixer_t *mixer, const char *dev) { in prepare_mixer() 1729 snd_mixer_t *pa_alsa_open_mixer(pa_hashmap *mixers, int alsa_card_index, bool probe) { in pa_alsa_open_mixer() 1731 snd_mixer_t *m = pa_alsa_open_mixer_by_name(mixers, md, probe); in pa_alsa_open_mixer() 1736 snd_mixer_t *pa_alsa_open_mixer_by_name(pa_hashmap *mixers, const char *dev, bool probe) { in pa_alsa_open_mixer_by_name() 1738 snd_mixer_t *m; in pa_alsa_open_mixer_by_name() 1803 snd_mixer_t *pa_alsa_open_mixer_for_pcm(pa_hashmap *mixers, snd_pcm_t *pcm, bool probe) { in pa_alsa_open_mixer_for_pcm() 1819 void pa_alsa_mixer_set_fdlist(pa_hashmap *mixers, snd_mixer_t *mixer_handle, pa_mainloop_api *ml) in pa_alsa_mixer_set_fdlist()
|
D | alsa-mixer.c | 103 static int setting_select(pa_alsa_setting *s, snd_mixer_t *m); 317 snd_mixer_t *mixer; 499 int pa_alsa_fdlist_set_handle(struct pa_alsa_fdlist *fdl, snd_mixer_t *mixer_handle, snd_hctl_t *hc… in pa_alsa_fdlist_set_handle() 517 snd_mixer_t *mixer; 591 int pa_alsa_set_mixer_rtpoll(struct pa_alsa_mixer_pdata *pd, snd_mixer_t *mixer, pa_rtpoll *rtp) { in pa_alsa_set_mixer_rtpoll() 824 static int element_get_volume(pa_alsa_element *e, snd_mixer_t *m, const pa_channel_map *cm, pa_cvol… in element_get_volume() 962 int pa_alsa_path_get_volume(pa_alsa_path *p, snd_mixer_t *m, const pa_channel_map *cm, pa_cvolume *… in pa_alsa_path_get_volume() 998 static int element_get_switch(pa_alsa_element *e, snd_mixer_t *m, bool *b) { in element_get_switch() 1046 int pa_alsa_path_get_mute(pa_alsa_path *p, snd_mixer_t *m, bool *muted) { in pa_alsa_path_get_mute() 1158 static int element_set_volume(pa_alsa_element *e, snd_mixer_t *m, const pa_channel_map *cm, pa_cvol… in element_set_volume() [all …]
|
D | module-alsa-card.c | 581 snd_mixer_t *mixer_handle; in init_eld_ctls()
|
D | alsa-ucm.c | 939 snd_mixer_t *mixer_handle; in probe_volumes() 1939 snd_mixer_t *mixer_handle; in ucm_mapping_jack_probe()
|
D | alsa-source.c | 97 snd_mixer_t *mixer_handle;
|
D | alsa-sink.c | 109 snd_mixer_t *mixer_handle;
|
/third_party/alsa-utils/alsamixer/ |
D | mixer_widget.h | 20 extern snd_mixer_t *mixer;
|
D | mixer_widget.c | 43 snd_mixer_t *mixer; 76 static int mixer_callback(snd_mixer_t *mixer, unsigned int mask, snd_mixer_elem_t *elem) in mixer_callback()
|
/third_party/alsa-utils/amixer/ |
D | amixer.c | 94 snd_mixer_t *mhandle; in info() 773 static int show_selem(snd_mixer_t *handle, snd_mixer_selem_id_t *id, const char *space, int level) in show_selem() 1044 snd_mixer_t *handle; in selems() 1445 static snd_mixer_t *handle = NULL; in sset() 1656 static int mixer_event(snd_mixer_t *mixer, unsigned int mask, in mixer_event() 1666 snd_mixer_t *handle; in sevents()
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 52 snd_mixer_t *mixer; 831 pymixer->mixer = (snd_mixer_t *)mixer; in pymixer_init() 1046 snd_mixer_t *mixer, in alsa_mixer_simple_pyinit() 1107 snd_mixer_t *mixer, in alsa_mixer_simple_finit()
|