Searched refs:conv_area (Results 1 – 3 of 3) sorted by relevance
124 out->conv_area = cras_audio_area_create(ofmt->num_channels); in dev_stream_create()151 cras_audio_area_destroy(dev_stream->conv_area); in dev_stream_destroy()255 dev_stream->conv_area->num_channels = dst_format->num_channels; in capture_with_fmt_conv()317 cras_audio_area_config_buf_pointers(dev_stream->conv_area, fmt, in capture_copy_converted_to_stream()319 cras_audio_area_config_channels(dev_stream->conv_area, fmt); in capture_copy_converted_to_stream()320 dev_stream->conv_area->frames = write_frames; in capture_copy_converted_to_stream()326 &rstream->format, dev_stream->conv_area, 0, in capture_copy_converted_to_stream()
42 struct cras_audio_area *conv_area; member
233 devstr.conv_area = (struct cras_audio_area*)calloc( in SetUpFmtConv()235 devstr.conv_area->num_channels = 2; in SetUpFmtConv()236 devstr.conv_area->channels[0].step_bytes = 4; in SetUpFmtConv()237 devstr.conv_area->channels[0].buf = (uint8_t*)(devstr.conv_buffer->bytes); in SetUpFmtConv()238 devstr.conv_area->channels[1].step_bytes = 4; in SetUpFmtConv()239 devstr.conv_area->channels[1].buf = in SetUpFmtConv()287 EXPECT_EQ(devstr.conv_area, copy_area_call.src); in TEST_F()290 free(devstr.conv_area); in TEST_F()322 EXPECT_EQ(devstr.conv_area, copy_area_call.src); in TEST_F()325 free(devstr.conv_area); in TEST_F()