Home
last modified time | relevance | path

Searched refs:cras_audio_area (Results 1 – 25 of 42) sorted by relevance

12

/external/adhd/cras/src/server/
Dcras_audio_area.h33 struct cras_audio_area { struct
56 struct cras_audio_area *cras_audio_area_create(int num_channels);
69 unsigned int cras_audio_area_copy(const struct cras_audio_area *dst,
72 const struct cras_audio_area *src,
81 void cras_audio_area_destroy(struct cras_audio_area *area);
89 void cras_audio_area_config_channels(struct cras_audio_area *area,
95 void cras_audio_area_config_buf_pointers(struct cras_audio_area *area,
Dcras_audio_area.c13 struct cras_audio_area *cras_audio_area_create(int num_channels) in cras_audio_area_create()
15 struct cras_audio_area *area; in cras_audio_area_create()
25 unsigned int cras_audio_area_copy(const struct cras_audio_area *dst, in cras_audio_area_copy()
28 const struct cras_audio_area *src, in cras_audio_area_copy()
61 void cras_audio_area_destroy(struct cras_audio_area *area) in cras_audio_area_destroy()
66 void cras_audio_area_config_channels(struct cras_audio_area *area, in cras_audio_area_config_channels()
93 void cras_audio_area_config_buf_pointers(struct cras_audio_area *area, in cras_audio_area_config_buf_pointers()
Dcras_apm_list.h11 struct cras_audio_area;
130 struct cras_audio_area *cras_apm_list_get_processed(struct cras_apm *apm);
211 static inline struct cras_audio_area *
Ddev_stream.h18 struct cras_audio_area;
42 struct cras_audio_area *conv_area;
113 const struct cras_audio_area *area,
Dinput_data.h25 struct cras_audio_area *area;
61 struct cras_audio_area **area,
Dcras_iodev.h28 struct cras_audio_area;
260 struct cras_audio_area **area, unsigned *frames);
282 struct cras_audio_area *area;
599 struct cras_audio_area **area,
Dewma_power.h63 struct cras_audio_area *area, unsigned int size);
Dtest_iodev.c84 static int get_buffer(struct cras_iodev *iodev, struct cras_audio_area **area, in get_buffer()
112 struct cras_audio_area **area, unsigned *frames) in get_buffer_fd_read()
Dewma_power.c58 struct cras_audio_area *area, unsigned int size) in ewma_power_calculate_area()
Dinput_data.c147 struct cras_audio_area **area, in input_data_get_for_stream()
/external/adhd/cras/src/tests/
Dinput_data_unittest.cc20 static struct cras_audio_area apm_area;
33 struct cras_audio_area* area; in TEST()
34 struct cras_audio_area dev_area; in TEST()
129 struct cras_audio_area* cras_apm_list_get_processed(struct cras_apm* apm) { in cras_apm_list_get_processed()
Dempty_iodev_unittest.cc16 static cras_audio_area mock_audio_area;
23 cras_audio_area* area; in TEST()
65 void cras_audio_area_config_buf_pointers(struct cras_audio_area* area, in cras_audio_area_config_buf_pointers()
Dloopback_iodev_unittest.cc32 static cras_audio_area* mock_audio_area;
49 mock_audio_area = (cras_audio_area*)calloc( in SetUp()
157 cras_audio_area* area; in TEST_F()
189 cras_audio_area* area; in TEST_F()
224 void cras_audio_area_config_buf_pointers(struct cras_audio_area* area, in cras_audio_area_config_buf_pointers()
Daudio_thread_unittest_obsolete.cc17 const struct cras_audio_area* area;
55 static struct cras_audio_area* mock_audio_area1;
56 static struct cras_audio_area* mock_audio_area2;
98 mock_audio_area1 = (cras_audio_area*)calloc( in SetUp()
99 1, sizeof(cras_audio_area) + 2 * sizeof(cras_channel_area)); in SetUp()
104 mock_audio_area2 = (cras_audio_area*)calloc( in SetUp()
105 1, sizeof(cras_audio_area) + 2 * sizeof(cras_channel_area)); in SetUp()
159 struct cras_audio_area** area, in get_buffer()
166 area_ = (cras_audio_area*)calloc(1, sz); in get_buffer()
206 static struct cras_audio_area* area_;
[all …]
Da2dp_iodev_unittest.cc47 static cras_audio_area* mock_audio_area;
83 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()
187 struct cras_audio_area *area1, *area2, *area3; in TEST_F()
263 struct cras_audio_area* area; in TEST_F()
326 struct cras_audio_area* area; in TEST_F()
429 struct cras_audio_area* area; in TEST_F()
481 struct cras_audio_area* area; in TEST_F()
521 struct cras_audio_area* area; in TEST_F()
562 struct cras_audio_area* area; in TEST_F()
606 struct cras_audio_area* area; in TEST_F()
[all …]
Dhfp_iodev_unittest.cc46 static cras_audio_area* mock_audio_area;
77 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()
176 cras_audio_area* area; in TEST_F()
199 cras_audio_area* area; in TEST_F()
374 void cras_audio_area_config_buf_pointers(struct cras_audio_area* area, in cras_audio_area_config_buf_pointers()
Dapm_list_unittest.cc27 static struct cras_audio_area fake_audio_area;
225 struct cras_audio_area* area; in TEST()
378 struct cras_audio_area* cras_audio_area_create(int num_channels) { in cras_audio_area_create()
382 void cras_audio_area_destroy(struct cras_audio_area* area) {} in cras_audio_area_destroy()
383 void cras_audio_area_config_channels(struct cras_audio_area* area, in cras_audio_area_config_channels()
385 void cras_audio_area_config_buf_pointers(struct cras_audio_area* area, in cras_audio_area_config_buf_pointers()
Ddev_stream_unittest.cc56 const struct cras_audio_area* dst;
59 const struct cras_audio_area* src;
162 area = (struct cras_audio_area*)calloc( in SetUp()
173 stream_area = (struct cras_audio_area*)calloc( in SetUp()
233 devstr.conv_area = (struct cras_audio_area*)calloc( in SetUpFmtConv()
244 struct cras_audio_area* area;
245 struct cras_audio_area* stream_area;
1247 struct cras_audio_area* cras_audio_area_create(int num_channels) { in cras_audio_area_create()
1252 void cras_audio_area_destroy(struct cras_audio_area* area) {} in cras_audio_area_destroy()
1254 void cras_audio_area_config_buf_pointers(struct cras_audio_area* area, in cras_audio_area_config_buf_pointers()
[all …]
Daudio_thread_unittest.cc34 static struct cras_audio_area* cras_iodev_get_output_buffer_area;
207 struct cras_audio_area** area, in get_buffer()
214 area_ = (cras_audio_area*)calloc(1, sz); in get_buffer()
243 static struct cras_audio_area* area_;
253 struct cras_audio_area* StreamDeviceSuite::area_;
1135 struct cras_audio_area** area, in cras_iodev_get_output_buffer()
1208 const struct cras_audio_area* area, in dev_stream_capture()
1349 struct cras_audio_area* cras_audio_area_create(int num_channels) { in cras_audio_area_create()
1350 struct cras_audio_area* area; in cras_audio_area_create()
1354 area = (cras_audio_area*)calloc(1, sz); in cras_audio_area_create()
[all …]
Drstream_unittest.cc357 struct cras_audio_area* cras_audio_area_create(int num_channels) { in cras_audio_area_create()
361 void cras_audio_area_destroy(struct cras_audio_area* area) {} in cras_audio_area_destroy()
363 void cras_audio_area_config_channels(struct cras_audio_area* area, in cras_audio_area_config_channels()
Dewma_power_unittest.cc81 struct cras_audio_area* area = cras_audio_area_create(4); in TEST()
Daudio_area_unittest.cc25 struct cras_audio_area* a1;
26 struct cras_audio_area* a2;
Dbt_io_unittest.cc119 struct cras_audio_area** area, in get_buffer()
167 struct cras_audio_area* fake_area; in TEST_F()
Diodev_unittest.cc78 static struct cras_audio_area* audio_area;
491 struct cras_audio_area** area, in get_buffer()
495 audio_area = (cras_audio_area*)calloc(1, sz); in get_buffer()
1193 struct cras_audio_area** area, in bad_get_buffer()
1204 struct cras_audio_area** area = NULL; in TEST()
2591 struct cras_audio_area* cras_audio_area_create(int num_channels) { in cras_audio_area_create()
2595 void cras_audio_area_destroy(struct cras_audio_area* area) {} in cras_audio_area_destroy()
2597 void cras_audio_area_config_channels(struct cras_audio_area* area, in cras_audio_area_config_channels()
2788 struct cras_audio_area* area, in ewma_power_calculate_area()
Diodev_stub.cc150 struct cras_audio_area** area, in cras_iodev_get_output_buffer()

12