1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-07 07:31:48 +00:00
mpv/osdep
Kacper Michajłow a27d402f37 osdep/timer-win2: use Waitable Timer for sleeping
Allows higher resolution sleeps than Sleep which has milliseconds
resolution. In practice Windows kernel does not really go below 0.5ms,
but we don't have to limit ourselves on API side of things and do the
best we can.
2023-10-10 19:10:55 +00:00
..
android osdep: remove posix_spawn() helpers and wrappers 2020-05-15 16:37:41 +02:00
macos options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
win32 win32/pthread: define _POSIX_TIMERS to notify they are not supported 2023-09-29 20:48:58 +00:00
apple_utils.c osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02:00
apple_utils.h osdep: move cfstr<->cstr conversions to a new apple_utils.c file 2023-06-25 11:01:58 +02:00
atomic.h osdep/atomic: add mp_atomic_double 2022-04-02 21:41:58 +03:00
compiler.h osdep: add MP_FALLTHROUGH 2023-02-02 14:23:02 +00:00
endian.h
getpid.h
glob-win.c
io.c osdep/io: provide dlopen, etc. abstraction wrappers for windows 2023-09-20 02:16:45 +00:00
io.h osdep/io: provide dlopen, etc. abstraction wrappers for windows 2023-09-20 02:16:45 +00:00
language-apple.c osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
language-posix.c language-posix: as a fallback, treat "C" as "en" 2023-07-25 11:34:06 +02:00
language-win.c osdep: add mp_get_user_langs 2023-06-25 11:01:58 +02:00
macOS_swift_bridge.h mac: replace old event tap for media key support with MediaPlayer 2019-12-15 20:07:31 +01:00
macosx_application_objc.h mac: fix media key support for libmpv users 2020-02-22 13:56:31 +01:00
macosx_application.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
macosx_application.m options: remove ancient option fallbacks/deprecation 2023-09-21 16:06:29 +00:00
macosx_compat.h
macosx_events_objc.h mac: fix media key support for libmpv users 2020-02-22 13:56:31 +01:00
macosx_events.h mac: remove Apple Remote support 2019-12-15 20:07:31 +01:00
macosx_events.m macos: add support for F13-F20 keys 2022-09-02 14:05:46 +02:00
macosx_menubar_objc.h
macosx_menubar.h various: fix typos 2022-04-25 09:07:18 -04:00
macosx_menubar.m player/command: remove video-aspect property 2023-08-31 17:37:42 +00:00
macosx_touchbar.h mac: only update touch bar items when necessary 2021-02-13 15:51:32 +01:00
macosx_touchbar.m mac: only update touch bar items when necessary 2021-02-13 15:51:32 +01:00
macosx_versions.h
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c win32: allow heap cache optimization and memory decommit 2023-09-01 16:58:56 +02:00
main-fn.h
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
mpv.exe.manifest win32: request the UTF-8 code page for Windows APIs 2020-08-08 15:00:25 +03:00
mpv.rc build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
path-darwin.c path-{darwin,unix}: save cache to subdir when using non-XDG path 2023-09-07 13:59:49 +00:00
path-macosx.m
path-unix.c path-{darwin,unix}: save cache to subdir when using non-XDG path 2023-09-07 13:59:49 +00:00
path-uwp.c
path-win.c path-win: move state directory to %LOCALAPPDATA% 2023-07-29 14:27:59 +00:00
path.h player: use XDG_CACHE_HOME by default 2023-05-09 20:37:17 +00:00
poll_wrapper.c vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
poll_wrapper.h vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
semaphore_osx.c
semaphore.h
strnlen.h
subprocess-dummy.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess-posix.c subprocess: unblock/reset signals before running child process 2021-12-19 15:02:18 +01:00
subprocess-win.c subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00
subprocess.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
subprocess.h command: extend subprocess command stdin, change behavior 2020-08-16 02:54:44 +02:00
terminal-dummy.c osdep/terminal: Add function to get terminal pixel dimensions 2020-11-22 13:34:25 +02:00
terminal-unix.c osdep: rename polldev to poll_wrapper 2023-10-10 19:10:55 +00:00
terminal-win.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
terminal.h osdep/terminal.h: Rename screen buffer controls 2022-12-20 10:26:53 +01:00
threads.c build: restore BSD thread names after 9f461b85bf 2020-04-23 13:58:16 +02:00
threads.h osdep: add a pthread debugging wrapper 2020-03-18 22:42:13 +01:00
timer-darwin.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
timer-linux.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
timer-win2.c osdep/timer-win2: use Waitable Timer for sleeping 2023-10-10 19:10:55 +00:00
timer.c win32/pthread: don't convert time through unrelated timer 2023-09-29 20:48:58 +00:00
timer.h timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
w32_keyboard.c input: add missing windows multimedia keys 2023-08-27 16:14:27 +00:00
w32_keyboard.h
win32-console-wrapper.c win32-console-wrapper: silence missing prototype warnings 2019-05-10 21:06:58 +10:00
windows_utils.c subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00
windows_utils.h subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00