Searched refs:audio_area (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_stream.c | 322 &rstream->audio_area->frames); in capture_copy_converted_to_stream() 323 num_frames = MIN(rstream->audio_area->frames - offset, in capture_copy_converted_to_stream() 329 rstream->audio_area->frames, in capture_copy_converted_to_stream() 345 cras_audio_area_config_buf_pointers(rstream->audio_area, in capture_copy_converted_to_stream() 349 cras_audio_area_copy(rstream->audio_area, offset, in capture_copy_converted_to_stream() 404 &rstream->audio_area->frames); in dev_stream_capture() 405 cras_audio_area_config_buf_pointers(rstream->audio_area, in dev_stream_capture() 409 nread = cras_audio_area_copy(rstream->audio_area, offset, in dev_stream_capture()
|
D | cras_rstream.c | 73 stream->audio_area = in setup_shm_area() 75 cras_audio_area_config_channels(stream->audio_area, &stream->format); in setup_shm_area() 274 cras_audio_area_destroy(stream->audio_area); in cras_rstream_destroy()
|
D | cras_rstream.h | 83 struct cras_audio_area *audio_area; member
|
/external/adhd/cras/src/tests/ |
D | iodev_unittest.cc | 79 static struct cras_audio_area *audio_area; variable 173 if (audio_area) { in ResetStubData() 174 free(audio_area); in ResetStubData() 175 audio_area = NULL; in ResetStubData() 536 size_t sz = sizeof(*audio_area) + sizeof(struct cras_channel_area) * 2; in get_buffer() 538 audio_area = (cras_audio_area*)calloc(1, sz); in get_buffer() 539 audio_area->frames = *num; in get_buffer() 540 audio_area->num_channels = 2; in get_buffer() 541 audio_area->channels[0].buf = audio_buffer; in get_buffer() 542 channel_area_set_channel(&audio_area->channels[0], CRAS_CH_FL); in get_buffer() [all …]
|
D | dev_stream_unittest.cc | 166 rstream_.audio_area = stream_area; in SetUp()
|