Home
last modified time | relevance | path

Searched refs:snapshot_buffer (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Dcras_system_state.c72 struct cras_audio_thread_snapshot_buffer snapshot_buffer; member
146 memset(&state.snapshot_buffer, 0, in cras_system_state_init()
596 memcpy(&state.exp_state->snapshot_buffer, &state.snapshot_buffer, in cras_system_state_dump_snapshots()
603 state.snapshot_buffer.snapshots[state.snapshot_buffer.pos++] = in cras_system_state_add_snapshot()
605 state.snapshot_buffer.pos %= in cras_system_state_add_snapshot()
/external/adhd/cras/src/tests/
Dcras_test_client.c671 const struct cras_audio_thread_snapshot_buffer *snapshot_buffer; in audio_thread_snapshots() local
676 snapshot_buffer = cras_client_get_audio_thread_snapshot_buffer(client); in audio_thread_snapshots()
677 i = snapshot_buffer->pos; in audio_thread_snapshots()
680 if(snapshot_buffer->snapshots[i].timestamp.tv_sec || in audio_thread_snapshots()
681 snapshot_buffer->snapshots[i].timestamp.tv_nsec) in audio_thread_snapshots()
684 &snapshot_buffer->snapshots[i]); in audio_thread_snapshots()
/external/adhd/cras/src/common/
Dcras_types.h395 struct cras_audio_thread_snapshot_buffer snapshot_buffer; member
/external/adhd/cras/src/libcras/
Dcras_client.c2700 const struct cras_audio_thread_snapshot_buffer *snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer() local
2707 snapshot_buffer = &client->server_state->snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer()
2709 return snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer()