Browse Source

simple_client_timestamps

pull/450/head
Christoph Kuhr 7 years ago
parent
commit
5c3e0040ea
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      example-clients/simple_client.c

+ 2
- 2
example-clients/simple_client.c View File

@@ -117,9 +117,9 @@ process (jack_nframes_t nframes, void *arg)
}

memset(msg_send, 0, Q_MSG_SIZE);
sprintf (msg_send, "%x", (sys_time.tv_sec*1000000000ULL + sys_time.tv_nsec));
sprintf (msg_send, "%llx", (sys_time.tv_sec*1000000000ULL + sys_time.tv_nsec));

if (mq_send(tsq, msg_send, Q_MSG_SIZE, NULL) < 0) {
if (mq_send(tsq, msg_send, Q_MSG_SIZE, 0) < 0) {
fprintf(filepointer, "send error %d %s %s\n", errno, strerror(errno), msg_send);fflush(filepointer);
}



Loading…
Cancel
Save