obs-studio/plugins/mac-capture
Doug Kelly 5d711ebbda mac-capture: Adjust mHostTime to milliseconds
The timestamp returned by mHostTime in the AudioTimeStamp structure
is the current timestamp equivalent to mach_absolute_time(), which
is relative to the machine's time base. In order to convert this
to milliseconds, it's necessary to get the host's timebase with
mach_timebase_info() and scale the timestamp accordingly, since
the rest of the timestamp synchronization code expects the timestamp
to be in milliseconds.

This is effectively equivalent to the code which was previously in
libobs/util/platform-coca.m, but must be applied here instead.
2021-02-28 19:00:43 -08:00
..
data/locale Update translations from Crowdin 2020-12-14 00:29:44 +01:00
CMakeLists.txt CI: Remove explicit LANGUAGE flags for cmake 3.19+ 2020-11-21 12:00:52 -08:00
audio-device-enum.c mac-capture: Add several virtual audio drivers to Desktop audio 2020-06-26 08:46:19 +02:00
audio-device-enum.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
mac-audio.c mac-capture: Adjust mHostTime to milliseconds 2021-02-28 19:00:43 -08:00
mac-display-capture.m mac-capture: Support linear SRGB 2021-01-21 07:42:57 -08:00
mac-window-capture.m mac-capture: Use resize instead of reserve 2020-05-09 09:12:48 -07:00
plugin-main.c Plugins: Add descriptions to modules 2018-09-11 18:28:58 -07:00
window-utils.h Revert "mac-capture: show actual windows in Window Capture sources" 2020-10-03 14:23:54 -07:00
window-utils.m Revert "mac-capture: show actual windows in Window Capture sources" 2020-10-03 14:23:54 -07:00