From 77f675a15156519b143d4057e3359e5303a3c5dd Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 28 Nov 2014 10:43:48 -0800 Subject: ao/wasapi: handle VistaBlob failure more gracefully --- audio/out/ao_wasapi.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'audio/out/ao_wasapi.h') 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); -- cgit v1.2.3