1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
mpv/input
wm4 3004661bf2 input: deal with playback thread wakeup on windows
The recent change of waking up the playback thread using a wakeup pipe
doesn't work on windows, because windows is horrible. So use a condition
variable instead to wake up the thread. To make things worse, jackaudio
is also horrible and "disallows" the use of mutexes, so all we can do is
implementing a half-solution that is not race condition free.

It would probably better to give up on this lock-free crap in the pull-
API audio path.

Mostly untested.
2014-04-15 23:12:15 +02:00
..
cmd_list.c player: rename dvdnav to discnav 2014-03-30 11:42:49 +09:00
cmd_list.h player: rename dvdnav to discnav 2014-03-30 11:42:49 +09:00
cmd_parse.c command: fix loadfile command 2014-02-24 23:02:20 +01:00
cmd_parse.h input: split off some code from input.c to separate files 2013-12-26 17:13:25 +01:00
event.c input: change mp_input_run_cmd signature 2014-01-04 19:42:16 +01:00
event.h video/out: remove some code duplication between X11 and wayland 2014-01-04 19:33:40 +01:00
input.c input: deal with playback thread wakeup on windows 2014-04-15 23:12:15 +02:00
input.h audio: wake up the core when audio buffer is running low (2) 2014-04-15 22:50:16 +02:00
joystick.c Kill all tabs 2014-04-13 18:03:01 +02:00
joystick.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
keycodes.c keycodes: add const to a function argument 2014-02-17 02:52:58 +01:00
keycodes.h keycodes: add const to a function argument 2014-02-17 02:52:58 +01:00
lirc.c Kill all tabs 2014-04-13 18:03:01 +02:00
lirc.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00