Searched refs:cras_alsa_mixer (Results 1 – 11 of 11) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_mixer.h | 20 struct cras_alsa_mixer; 35 struct cras_alsa_mixer *cras_alsa_mixer_create(const char *card_name); 45 struct cras_alsa_mixer *cmix, 57 struct cras_alsa_mixer *cmix, 66 void cras_alsa_mixer_destroy(struct cras_alsa_mixer *cras_mixer); 69 int cras_alsa_mixer_has_main_volume(const struct cras_alsa_mixer *cras_mixer); 82 void cras_alsa_mixer_set_dBFS(struct cras_alsa_mixer *cras_mixer, 90 long cras_alsa_mixer_get_dB_range(struct cras_alsa_mixer *cras_mixer); 106 void cras_alsa_mixer_set_capture_dBFS(struct cras_alsa_mixer *cras_mixer, 119 struct cras_alsa_mixer *cmix, [all …]
|
D | cras_alsa_mixer.c | 80 struct cras_alsa_mixer { struct 309 struct cras_alsa_mixer *cmix, in mixer_control_create_by_name() 453 static int add_main_volume_control(struct cras_alsa_mixer *cmix, in add_main_volume_control() 492 static int add_main_capture_control(struct cras_alsa_mixer *cmix, in add_main_capture_control() 522 static int add_control_with_name(struct cras_alsa_mixer *cmix, in add_control_with_name() 551 static int add_control(struct cras_alsa_mixer *cmix, in add_control() 584 struct cras_alsa_mixer *cmix, in add_control_with_coupled_mixers() 612 static int add_control_by_name(struct cras_alsa_mixer *cmix, in add_control_by_name() 647 struct cras_alsa_mixer *cras_alsa_mixer_create(const char *card_name) in cras_alsa_mixer_create() 649 struct cras_alsa_mixer *cmix; in cras_alsa_mixer_create() [all …]
|
D | cras_alsa_io.h | 14 struct cras_alsa_mixer; 46 struct cras_alsa_mixer *mixer,
|
D | cras_alsa_jack.h | 17 struct cras_alsa_mixer; 53 struct cras_alsa_mixer *mixer,
|
D | cras_alsa_io.c | 145 struct cras_alsa_mixer *mixer; 1040 struct cras_alsa_mixer *mixer = aio->mixer; in set_output_node_software_volume_needed() 1939 struct cras_alsa_mixer *mixer, in alsa_iodev_create() 2100 struct cras_alsa_mixer *mixer; in alsa_iodev_legacy_complete_init()
|
D | cras_alsa_jack.c | 122 struct cras_alsa_mixer *mixer; 1118 struct cras_alsa_mixer *mixer, in cras_alsa_jack_list_create()
|
D | cras_alsa_card.c | 59 struct cras_alsa_mixer *mixer;
|
/external/adhd/cras/src/tests/ |
D | alsa_mixer_unittest.cc | 152 struct cras_alsa_mixer *create_mixer_and_add_controls_by_name_matching( in create_mixer_and_add_controls_by_name_matching() 156 struct cras_alsa_mixer *cmix = cras_alsa_mixer_create(card_name); in create_mixer_and_add_controls_by_name_matching() 163 struct cras_alsa_mixer *c; in TEST() 168 EXPECT_NE(static_cast<struct cras_alsa_mixer *>(NULL), c); in TEST() 174 struct cras_alsa_mixer *c; in TEST() 179 EXPECT_NE(static_cast<struct cras_alsa_mixer *>(NULL), c); in TEST() 188 struct cras_alsa_mixer *c; in TEST() 193 EXPECT_NE(static_cast<struct cras_alsa_mixer *>(NULL), c); in TEST() 203 struct cras_alsa_mixer *c; in TEST() 208 EXPECT_NE(static_cast<struct cras_alsa_mixer *>(NULL), c); in TEST() [all …]
|
D | alsa_io_unittest.cc | 67 static struct cras_alsa_mixer *fake_mixer = (struct cras_alsa_mixer *)1; 261 struct cras_alsa_mixer *mixer, in alsa_iodev_create_with_default_parameters() 284 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 312 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 363 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 623 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 654 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 818 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 884 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() 904 struct cras_alsa_mixer * const fake_mixer = (struct cras_alsa_mixer*)2; in TEST() [all …]
|
D | alsa_card_unittest.cc | 26 static struct cras_alsa_mixer *cras_alsa_mixer_create_return; 99 cras_alsa_mixer_create_return = reinterpret_cast<struct cras_alsa_mixer *>(1); in ResetStubData() 185 cras_alsa_mixer_create_return = static_cast<struct cras_alsa_mixer *>(NULL); in TEST() 857 struct cras_alsa_mixer *cras_alsa_mixer_create(const char *card_name) { in cras_alsa_mixer_create() 863 struct cras_alsa_mixer* cmix, in cras_alsa_mixer_add_controls_by_name_matching() 879 void cras_alsa_mixer_destroy(struct cras_alsa_mixer *cras_mixer) { in cras_alsa_mixer_destroy() 890 struct cras_alsa_mixer *mixer, in alsa_iodev_create() 1120 struct cras_alsa_mixer *cmix, in cras_alsa_mixer_add_controls_in_section()
|
D | alsa_jack_unittest.cc | 63 static struct cras_alsa_mixer *fake_mixer; 125 fake_mixer = reinterpret_cast<struct cras_alsa_mixer *>(0x789); in ResetStubData() 1061 const struct cras_alsa_mixer *cras_mixer, in cras_alsa_mixer_get_output_matching_name() 1070 struct cras_alsa_mixer *cras_mixer, in cras_alsa_mixer_get_input_matching_name() 1078 struct cras_alsa_mixer *cras_mixer, in cras_alsa_mixer_get_control_for_section()
|