| @@ -111,16 +111,17 @@ process (jack_nframes_t nframes, void *arg) | |||||
| struct timespec sys_time; | struct timespec sys_time; | ||||
| memset(sys_time, 0, sizeof(struct timespec)); | |||||
| if (clock_gettime(CLOCK_REALTIME, &sys_time)) { | if (clock_gettime(CLOCK_REALTIME, &sys_time)) { | ||||
| fprintf(filepointer, " Clockrealtime Error\n");fflush(filepointer); | |||||
| // fprintf(filepointer, " Clockrealtime Error\n");fflush(filepointer); | |||||
| } | } | ||||
| memset(msg_send, 0, Q_MSG_SIZE); | memset(msg_send, 0, Q_MSG_SIZE); | ||||
| sprintf (msg_send, "%llx", (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, 0) < 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); | |||||
| // fprintf(filepointer, "send error %d %s %s\n", errno, strerror(errno), msg_send);fflush(filepointer); | |||||
| } | } | ||||
| out1 = (jack_default_audio_sample_t*)jack_port_get_buffer (output_port1, nframes); | out1 = (jack_default_audio_sample_t*)jack_port_get_buffer (output_port1, nframes); | ||||