Searched refs:capture_shm (Results 1 – 2 of 2) sorted by relevance
123 struct cras_audio_shm *shm = &stream_.capture_shm; in TEST_F()205 EXPECT_EQ(NULL, stream_.capture_shm.area); in StreamConnected()209 EXPECT_EQ(&area, stream_.capture_shm.area); in StreamConnected()
161 struct cras_audio_shm capture_shm; member1039 *captured_frames = cras_shm_get_read_buffer_base(&stream->capture_shm); in config_capture_buf()1050 if (cras_shm_get_curr_read_frames(&stream->capture_shm) < num_frames) in config_capture_buf()1059 cras_shm_buffer_read_current(&stream->capture_shm, num_frames); in complete_capture_read_current()1112 cras_timespec_to_timespec(&ts, &stream->capture_shm.area->ts); in handle_capture_data_ready()1423 if (stream->capture_shm.area) { in free_shm()1424 munmap(stream->capture_shm.area, stream->capture_shm_size); in free_shm()1429 stream->capture_shm.area = NULL; in free_shm()1453 rc = config_shm(&stream->capture_shm, in stream_connected()