summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-11-28 10:43:48 -0800
committerKevin Mitchell <kevmitch@gmail.com>2014-11-28 10:52:48 -0800
commit77f675a15156519b143d4057e3359e5303a3c5dd (patch)
treee76f879c8c7ee44772cdf3ce92a4aad005822883 /audio/out/ao_wasapi.h
parentb83e447e2b8aa830592dbac8293a45cc0400a806 (diff)
downloadmpv-77f675a15156519b143d4057e3359e5303a3c5dd.tar.bz2
mpv-77f675a15156519b143d4057e3359e5303a3c5dd.tar.xz
ao/wasapi: handle VistaBlob failure more gracefully
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-xaudio/out/ao_wasapi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h
index 8507ecaf0b..367aae03aa 100755
--- a/audio/out/ao_wasapi.h
+++ b/audio/out/ao_wasapi.h
@@ -106,7 +106,10 @@ typedef struct wasapi_state {
int opt_list;
char *opt_device;
- /* We still need to support XP, don't use these functions directly, blob owned by main thread */
+ /* Don't use these functions directly in case
+ they are unimplemented for some reason.
+ (XP shouldn't be an issue since it doesn't support wasapi, maybe wine?)
+ Blob is owned by the main thread */
struct {
HMODULE hAvrt;
HANDLE (WINAPI *pAvSetMmThreadCharacteristicsW)(LPCWSTR, LPDWORD);