From 4987c1906d26745cb6a69449f6aa579387e1d9fe Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Wed, 1 Apr 2015 02:20:12 -0700 Subject: ao_wasapi: abstract HRESULT_to_str --- audio/out/ao_wasapi_changenotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/ao_wasapi_changenotify.c') 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; } -- cgit v1.2.3