Home
last modified time | relevance | path

Searched refs:aud_msg (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Drstream_unittest.cc64 struct audio_message aud_msg; in stub_client_reply() local
66 aud_msg.id = id; in stub_client_reply()
67 aud_msg.frames = frames; in stub_client_reply()
68 aud_msg.error = err; in stub_client_reply()
71 rc = write(client_fd_, &aud_msg, sizeof(aud_msg)); in stub_client_reply()
72 EXPECT_EQ(sizeof(aud_msg), rc); in stub_client_reply()
/external/adhd/cras/src/libcras/
Dcras_client.c1055 struct audio_message aud_msg; in send_capture_reply() local
1061 aud_msg.id = AUDIO_MESSAGE_DATA_CAPTURED; in send_capture_reply()
1062 aud_msg.frames = frames; in send_capture_reply()
1063 aud_msg.error = err; in send_capture_reply()
1065 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_capture_reply()
1066 if (rc != sizeof(aud_msg)) in send_capture_reply()
1128 struct audio_message aud_msg; in send_playback_reply() local
1134 aud_msg.id = AUDIO_MESSAGE_DATA_READY; in send_playback_reply()
1135 aud_msg.frames = frames; in send_playback_reply()
1136 aud_msg.error = error; in send_playback_reply()
[all …]