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.cc62 struct audio_message aud_msg; in stub_client_reply() local
64 aud_msg.id = id; in stub_client_reply()
65 aud_msg.frames = frames; in stub_client_reply()
66 aud_msg.error = err; in stub_client_reply()
69 rc = write(client_fd_, &aud_msg, sizeof(aud_msg)); in stub_client_reply()
70 EXPECT_EQ(sizeof(aud_msg), rc); in stub_client_reply()
/external/adhd/cras/src/libcras/
Dcras_client.c1066 struct audio_message aud_msg; in send_capture_reply() local
1072 aud_msg.id = AUDIO_MESSAGE_DATA_CAPTURED; in send_capture_reply()
1073 aud_msg.frames = frames; in send_capture_reply()
1074 aud_msg.error = err; in send_capture_reply()
1076 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_capture_reply()
1077 if (rc != sizeof(aud_msg)) in send_capture_reply()
1148 struct audio_message aud_msg; in send_playback_reply() local
1154 aud_msg.id = AUDIO_MESSAGE_DATA_READY; in send_playback_reply()
1155 aud_msg.frames = frames; in send_playback_reply()
1156 aud_msg.error = error; in send_playback_reply()
[all …]