Lines Matching refs:aud_msg
1066 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()
1158 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_playback_reply()
1159 if (rc != sizeof(aud_msg)) in send_playback_reply()
1244 struct audio_message aud_msg; in audio_thread() local
1265 (uint8_t *)&aud_msg, in audio_thread()
1266 sizeof(aud_msg)); in audio_thread()
1272 switch (aud_msg.id) { in audio_thread()
1276 aud_msg.frames); in audio_thread()
1281 aud_msg.frames); in audio_thread()