summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_changenotify.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-04-01 02:20:12 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-04-01 02:30:19 -0700
commit4987c1906d26745cb6a69449f6aa579387e1d9fe (patch)
treebe2e0c0eeecc65ebc4ec91fe5dc92258cdfc6b55 /audio/out/ao_wasapi_changenotify.c
parentd4e31166b7299e0d05c312c8d16c72b1b03af4af (diff)
downloadmpv-4987c1906d26745cb6a69449f6aa579387e1d9fe.tar.bz2
mpv-4987c1906d26745cb6a69449f6aa579387e1d9fe.tar.xz
ao_wasapi: abstract HRESULT_to_str
Diffstat (limited to 'audio/out/ao_wasapi_changenotify.c')
-rwxr-xr-xaudio/out/ao_wasapi_changenotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_changenotify.c b/audio/out/ao_wasapi_changenotify.c
index 83def775d3..1521578b19 100755
--- a/audio/out/ao_wasapi_changenotify.c
+++ b/audio/out/ao_wasapi_changenotify.c
@@ -227,7 +227,7 @@ HRESULT wasapi_change_init(struct ao *ao, bool is_hotplug)
return hr;
exit_label:
MP_ERR(state, "Error setting up device change monitoring: %s\n",
- wasapi_explain_err(hr));
+ mp_HRESULT_to_str(hr));
wasapi_change_uninit(ao);
return hr;
}