diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-02-22 18:27:58 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-02-23 14:02:08 -0800 |
commit | c52833bf16c9f4cc2bb676d13df86ef6be30f434 (patch) | |
tree | ad0662873936d73b5cd32b5e4e706c6d69c88d77 /video/mp_image.c | |
parent | 446fd5a43a56f15d7ecec5fb65544adeee0be72f (diff) | |
download | mpv-c52833bf16c9f4cc2bb676d13df86ef6be30f434.tar.bz2 mpv-c52833bf16c9f4cc2bb676d13df86ef6be30f434.tar.xz |
ao/wasapi: move resume to audio thread
This echanges the two events hForceFeed/hFeedDone for hResume. This
like the last commit makes things more deterministic.
Importantly, the forcefeed is only done if there is not already a full
buffer yet to be played by the device. This should fix some of the
problems with exclusive mode.
This commit also removes the necessity to have a proxy to the
AudioClient object in the main thread.
fixes #1529
Diffstat (limited to 'video/mp_image.c')
0 files changed, 0 insertions, 0 deletions