Home
last modified time | relevance | path

Searched refs:mixer_control (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_mixer.h16 struct mixer_control;
78 int cras_alsa_mixer_has_volume(const struct mixer_control *mixer_control);
89 struct mixer_control *mixer_output);
101 long cras_alsa_mixer_get_output_dB_range(struct mixer_control *mixer_output);
112 struct mixer_control *mixer_input);
123 struct cras_alsa_mixer *cmix, struct mixer_control *mixer_input);
134 struct cras_alsa_mixer *cmix, struct mixer_control *mixer_input);
144 struct mixer_control *mixer_output);
154 struct mixer_control *mixer_input);
164 typedef void (*cras_alsa_mixer_control_callback)(struct mixer_control *control,
[all …]
Dcras_alsa_mixer.c59 struct mixer_control { struct
67 struct mixer_control *prev, *next; argument
82 struct mixer_control *main_volume_controls;
83 struct mixer_control *output_controls;
85 struct mixer_control *main_capture_controls;
86 struct mixer_control *input_controls;
175 static void mixer_control_destroy(struct mixer_control *control) in mixer_control_destroy()
191 static void mixer_control_destroy_list(struct mixer_control *control_list) in mixer_control_destroy_list()
193 struct mixer_control *control; in mixer_control_destroy_list()
202 static int mixer_control_add_element(struct mixer_control *control, in mixer_control_add_element()
[all …]
Dcras_alsa_jack.h96 struct mixer_control *
105 struct mixer_control *
Dcras_alsa_io.c89 struct mixer_control *mixer_output;
97 struct mixer_control *mixer_input;
1178 struct mixer_control *cras_output, in new_output()
1219 static void new_output_by_mixer_control(struct mixer_control *cras_output, in new_output_by_mixer_control()
1261 struct mixer_control *cras_input, in new_input()
1310 static void new_input_by_mixer_control(struct mixer_control *cras_input, in new_input_by_mixer_control()
1336 struct mixer_control *mixer_output; in get_output_node_from_jack()
1358 struct mixer_control *mixer_input; in get_input_node_from_jack()
1575 struct mixer_control *cras_input; in jack_input_plug_event()
2283 struct mixer_control *control; in alsa_iodev_ucm_add_nodes_and_jacks()
[all …]
Dcras_alsa_jack.c95 struct mixer_control *mixer_output;
96 struct mixer_control *mixer_input;
1137 struct mixer_control *
1145 struct mixer_control *
/external/adhd/cras/src/tests/
Dalsa_mixer_unittest.cc254 struct mixer_control* mixer_output; in TEST()
323 struct mixer_control* mixer_output; in TEST()
395 struct mixer_control* mixer_output; in TEST()
480 struct mixer_control* mixer_output; in TEST()
615 struct mixer_control* mixer_input; in TEST()
823 static void OutputCallback(struct mixer_control* out, void* arg) { in OutputCallback()
830 static std::vector<struct mixer_control*> output_called_values_;
834 std::vector<struct mixer_control*> AlsaMixerOutputs::output_called_values_;
843 struct mixer_control* out; in TEST_F()
846 EXPECT_EQ(static_cast<struct mixer_control*>(NULL), out); in TEST_F()
[all …]
Dalsa_io_unittest.cc38 static const struct mixer_control* alsa_mixer_set_dBFS_output;
41 static const struct mixer_control* alsa_mixer_set_capture_dBFS_input;
42 static const struct mixer_control*
44 static const struct mixer_control*
49 static struct mixer_control*
59 static const struct mixer_control* alsa_mixer_set_mute_output;
62 static const struct mixer_control* alsa_mixer_set_capture_mute_input;
69 static struct mixer_control** cras_alsa_mixer_list_outputs_outputs;
71 static struct mixer_control** cras_alsa_mixer_list_inputs_outputs;
74 static std::vector<struct mixer_control*>
[all …]
Dalsa_jack_unittest.cc68 static struct mixer_control*
70 static struct mixer_control*
72 static struct mixer_control*
130 reinterpret_cast<struct mixer_control*>(0x456); in ResetStubData()
133 reinterpret_cast<struct mixer_control*>(0x456); in ResetStubData()
335 reinterpret_cast<struct mixer_control*>(malloc(1)); in TEST()
945 struct mixer_control* cras_alsa_mixer_get_output_matching_name( in cras_alsa_mixer_get_output_matching_name()
953 struct mixer_control* cras_alsa_mixer_get_input_matching_name( in cras_alsa_mixer_get_input_matching_name()
960 struct mixer_control* cras_alsa_mixer_get_control_for_section( in cras_alsa_mixer_get_control_for_section()