/third_party/alsa-lib/include/ |
H A D | mixer.h | 194 } snd_mixer_selem_channel_id_t; typedef 221 const char *snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel); 235 int snd_mixer_selem_has_playback_channel(snd_mixer_elem_t *obj, snd_mixer_selem_channel_id_t channel); 237 int snd_mixer_selem_has_capture_channel(snd_mixer_elem_t *obj, snd_mixer_selem_channel_id_t channel); 255 int snd_mixer_selem_get_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value); 256 int snd_mixer_selem_get_capture_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value); 257 int snd_mixer_selem_get_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value); 258 int snd_mixer_selem_get_capture_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value); 259 int snd_mixer_selem_get_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int *value); 260 int snd_mixer_selem_get_capture_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channe [all...] |
H A D | mixer_abst.h | 87 int (*get_volume)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value); 88 int (*get_dB)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long *value); 89 int (*set_volume)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value); 90 int (*set_dB)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value, int xdir); 91 int (*get_switch)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int *value); 92 int (*set_switch)(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value); 94 int (*get_enum_item)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int *itemp); 95 int (*set_enum_item)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, unsigned int item);
|
/third_party/alsa-utils/amixer/ |
H A D | volume_mapping.c | 66 static int (* const get_dB[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long *) = { 70 static int (* const get_raw[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long *) = { 74 static int (* const set_dB[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long, int) = { 78 static int (* const set_raw[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long) = { 84 snd_mixer_selem_channel_id_t channel, in get_normalized_volume() 121 snd_mixer_selem_channel_id_t channel, in set_normalized_volume() 154 snd_mixer_selem_channel_id_t channel) in get_normalized_playback_volume() 160 snd_mixer_selem_channel_id_t channel) in get_normalized_capture_volume() 166 snd_mixer_selem_channel_id_t channel, in set_normalized_playback_volume() 174 snd_mixer_selem_channel_id_t channe in set_normalized_capture_volume() [all...] |
H A D | volume_mapping.h | 7 snd_mixer_selem_channel_id_t channel); 9 snd_mixer_selem_channel_id_t channel); 11 snd_mixer_selem_channel_id_t channel, 15 snd_mixer_selem_channel_id_t channel,
|
H A D | amixer.c | 218 int (*get)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t c, 220 int (*set)(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t c, 232 snd_mixer_selem_channel_id_t c, long value, int dir) in set_playback_dB() 238 snd_mixer_selem_channel_id_t c, long value, int dir) in set_capture_dB() 244 snd_mixer_selem_channel_id_t c, in set_playback_raw_volume() 251 snd_mixer_selem_channel_id_t c, in set_capture_raw_volume() 269 snd_mixer_selem_channel_id_t c, in get_playback_mapped_volume() 277 snd_mixer_selem_channel_id_t c, in set_playback_mapped_volume() 285 snd_mixer_selem_channel_id_t c, in get_capture_mapped_volume() 293 snd_mixer_selem_channel_id_t in set_capture_mapped_volume() [all...] |
/third_party/alsa-utils/alsamixer/ |
H A D | volume_mapping.c | 66 static int (* const get_dB[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long *) = { 70 static int (* const get_raw[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long *) = { 74 static int (* const set_dB[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long, int) = { 78 static int (* const set_raw[2])(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long) = { 84 snd_mixer_selem_channel_id_t channel, in get_normalized_volume() 121 snd_mixer_selem_channel_id_t channel, in set_normalized_volume() 154 snd_mixer_selem_channel_id_t channel) in get_normalized_playback_volume() 160 snd_mixer_selem_channel_id_t channel) in get_normalized_capture_volume() 166 snd_mixer_selem_channel_id_t channel, in set_normalized_playback_volume() 174 snd_mixer_selem_channel_id_t channe in set_normalized_capture_volume() [all...] |
H A D | volume_mapping.h | 7 snd_mixer_selem_channel_id_t channel); 9 snd_mixer_selem_channel_id_t channel); 11 snd_mixer_selem_channel_id_t channel, 15 snd_mixer_selem_channel_id_t channel,
|
H A D | mixer_controls.h | 24 snd_mixer_selem_channel_id_t volume_channels[2]; 25 snd_mixer_selem_channel_id_t pswitch_channels[2]; 26 snd_mixer_selem_channel_id_t cswitch_channels[2];
|
H A D | mixer_widget.c | 307 int (*set_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, double, int); in change_volume_to_percent() 332 double (*get_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t); in change_volume_relative() 333 int (*set_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, double, int); in change_volume_relative() 393 int (*get_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, int *); in toggle_switches() 394 int (*set_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, int); in toggle_switches() 395 snd_mixer_selem_channel_id_t channel_ids[2]; in toggle_switches()
|
H A D | mixer_controls.c | 36 static const snd_mixer_selem_channel_id_t supported_channels[] = { 48 static const snd_mixer_selem_channel_id_t control_channels[][2] = { 92 const snd_mixer_selem_channel_id_t channels[2], in has_any_control_channel() 93 int (*has_channel)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t)) in has_any_control_channel() 237 if (snd_mixer_selem_get_enum_item(control->elem, (snd_mixer_selem_channel_id_t)i, &enum_index) >= 0) in create_controls_for_elem()
|
H A D | mixer_display.c | 271 int (*get_vol_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t, long *); in display_focus_item_info() 453 double (*get_vol_func)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t); in display_control()
|
/third_party/alsa-lib/src/mixer/ |
H A D | simple.c | 218 const char *snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) in snd_mixer_selem_channel_name() 267 int snd_mixer_selem_has_playback_channel(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel) in snd_mixer_selem_has_playback_channel() 397 int snd_mixer_selem_get_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) in snd_mixer_selem_get_playback_volume() 411 int snd_mixer_selem_get_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long *value) in snd_mixer_selem_get_playback_dB() 431 int snd_mixer_selem_get_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int *value) in snd_mixer_selem_get_playback_switch() 445 int snd_mixer_selem_set_playback_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value) in snd_mixer_selem_set_playback_volume() 461 int snd_mixer_selem_set_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value, int dir) in snd_mixer_selem_set_playback_dB() 476 snd_mixer_selem_channel_id_t chn; in snd_mixer_selem_set_playback_volume_all() 501 snd_mixer_selem_channel_id_t chn; in snd_mixer_selem_set_playback_dB_all() 523 int snd_mixer_selem_set_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channe [all...] |
H A D | simple_none.c | 965 static int _snd_mixer_selem_set_volume(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long value) in _snd_mixer_selem_set_volume() 984 static int _snd_mixer_selem_set_switch(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, int value) in _snd_mixer_selem_set_switch() 1085 snd_mixer_selem_channel_id_t channel, long *value) in get_volume_ops() 1219 snd_mixer_selem_channel_id_t channel, in get_dB_ops() 1243 snd_mixer_selem_channel_id_t channel, int *value) in get_switch_ops() 1255 snd_mixer_selem_channel_id_t channel, long value) in set_volume_ops() 1281 snd_mixer_selem_channel_id_t channel, in set_dB_ops() 1301 snd_mixer_selem_channel_id_t channel, int value) in set_switch_ops() 1352 snd_mixer_selem_channel_id_t channel, in get_enum_item_ops() 1373 snd_mixer_selem_channel_id_t channe in set_enum_item_ops() [all...] |
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | sbase.c | 189 snd_mixer_selem_channel_id_t channel, long *value) in get_volume_ops() 199 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in get_dB_ops() 207 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in get_switch_ops() 217 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in set_volume_ops() 226 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in set_dB_ops() 235 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in set_switch_ops() 253 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in get_enum_item_ops() 261 snd_mixer_selem_channel_id_t channel ATTRIBUTE_UNUSED, in set_enum_item_ops()
|
H A D | python.c | 280 snd_mixer_selem_channel_id_t channel, long *value) in get_volume_ops() 286 snd_mixer_selem_channel_id_t channel, int *value) in get_switch_ops() 341 snd_mixer_selem_channel_id_t channel, in get_dB_ops() 354 snd_mixer_selem_channel_id_t channel, long value) in set_volume_ops() 367 snd_mixer_selem_channel_id_t channel, int value) in set_switch_ops() 380 snd_mixer_selem_channel_id_t channel, in set_dB_ops() 444 snd_mixer_selem_channel_id_t channel, in get_enum_item_ops() 476 snd_mixer_selem_channel_id_t channel, in set_enum_item_ops()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.c | 56 static inline int vgfix_get_capture_dB(snd_mixer_elem_t *a, snd_mixer_selem_channel_id_t b, long *c) { in vgfix_get_capture_dB() 62 static inline int vgfix_get_playback_dB(snd_mixer_elem_t *a, snd_mixer_selem_channel_id_t b, long *c) { in vgfix_get_playback_dB() 630 static const snd_mixer_selem_channel_id_t alsa_channel_ids[PA_CHANNEL_POSITION_MAX] = { 693 static snd_mixer_selem_channel_id_t alsa_channel_positions[POSITION_MASK_CHANNELS] = { 827 snd_mixer_selem_channel_id_t c; in element_get_volume() 1001 snd_mixer_selem_channel_id_t c; in element_get_switch() 1111 static int element_get_nearest_alsa_dB(snd_mixer_elem_t *me, snd_mixer_selem_channel_id_t c, pa_alsa_direction_t d, long *value_dB) { in element_get_nearest_alsa_dB() 1163 snd_mixer_selem_channel_id_t c; in element_set_volume() 2551 snd_mixer_selem_channel_id_t channel_position; in element_parse_override_map()
|