diff options
author | Jonathan Yong <10walls@gmail.com> | 2014-11-17 03:37:51 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 04:30:53 -0800 |
commit | f29f16663ab5687c8cd84234cb5f26aaa66abb97 (patch) | |
tree | e3fa2164e221429beb17106eb3ac3050fb8418a1 /wscript_build.py | |
parent | 497df443c0a171d7bab193686df93edb189bc54a (diff) | |
download | mpv-f29f16663ab5687c8cd84234cb5f26aaa66abb97.tar.bz2 mpv-f29f16663ab5687c8cd84234cb5f26aaa66abb97.tar.xz |
ao/wasapi: new wasapi device monitoring interface
Implement skeleton IMMNotificationClient to watch for changes in the
sound device. This will make recovery possible from changes shared
mode sample rate, bit depth, "enhancements"/effects and even graceful
device removal.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371417%28v=vs.85%29.aspx
Signed-off-by: Kevin Mitchell <kevmitch@gmail.com>
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index a2c32494aa..4fefb87004 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -153,6 +153,7 @@ def build(ctx): ( "audio/out/ao_sndio.c", "sndio" ), ( "audio/out/ao_wasapi.c", "wasapi" ), ( "audio/out/ao_wasapi_utils.c", "wasapi" ), + ( "audio/out/ao_wasapi_changenotify.c", "wasapi" ), ( "audio/out/pull.c" ), ( "audio/out/push.c" ), |