site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi all. I use such code to get Epoch time: host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &g_host_clock); mach_timespec_t now; clock_get_time(g_host_clock, &now); with pthread_cond_timedwait, to plan MIDI event sends. But CoreMIDI use host time. So, how can I convert epoch time to host time? Or may be host time to epoch time!? Best regards, Eugene Erokhin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eugene Erokhin