diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 10:43:48 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 10:52:48 -0800 |
commit | 77f675a15156519b143d4057e3359e5303a3c5dd (patch) | |
tree | e76f879c8c7ee44772cdf3ce92a4aad005822883 /audio/out/ao_wasapi.h | |
parent | b83e447e2b8aa830592dbac8293a45cc0400a806 (diff) | |
download | mpv-77f675a15156519b143d4057e3359e5303a3c5dd.tar.bz2 mpv-77f675a15156519b143d4057e3359e5303a3c5dd.tar.xz |
ao/wasapi: handle VistaBlob failure more gracefully
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-x | audio/out/ao_wasapi.h | 5 |
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); |