Home
last modified time | relevance | path

Searched refs:conv_area (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Ddev_stream.c129 out->conv_area = cras_audio_area_create(ofmt->num_channels); in dev_stream_create()
154 cras_audio_area_destroy(dev_stream->conv_area); in dev_stream_destroy()
270 dev_stream->conv_area->num_channels = dst_format->num_channels; in capture_with_fmt_conv()
339 cras_audio_area_config_buf_pointers(dev_stream->conv_area, in capture_copy_converted_to_stream()
342 cras_audio_area_config_channels(dev_stream->conv_area, fmt); in capture_copy_converted_to_stream()
343 dev_stream->conv_area->frames = write_frames; in capture_copy_converted_to_stream()
351 dev_stream->conv_area, 0, in capture_copy_converted_to_stream()
Ddev_stream.h38 struct cras_audio_area *conv_area; member
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc208 devstr.conv_area = (struct cras_audio_area*)calloc(1, in SetUpFmtConv()
210 devstr.conv_area->num_channels = 2; in SetUpFmtConv()
211 devstr.conv_area->channels[0].step_bytes = 4; in SetUpFmtConv()
212 devstr.conv_area->channels[0].buf = (uint8_t *)(devstr.conv_buffer->bytes); in SetUpFmtConv()
213 devstr.conv_area->channels[1].step_bytes = 4; in SetUpFmtConv()
214 devstr.conv_area->channels[1].buf = in SetUpFmtConv()
265 EXPECT_EQ(devstr.conv_area, copy_area_call.src); in TEST_F()
268 free(devstr.conv_area); in TEST_F()
302 EXPECT_EQ(devstr.conv_area, copy_area_call.src); in TEST_F()
305 free(devstr.conv_area); in TEST_F()