summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_utils.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-01-04 18:09:03 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-01-05 17:47:55 -0800
commit8368ead1fa279e84012eaffcad321bb3cd1ed166 (patch)
tree4bbfc04580548dbe050b156060cb7734d730df2a /audio/out/ao_wasapi_utils.h
parentd22d24a6d53abdeac32e13317a78c0b905769185 (diff)
downloadmpv-8368ead1fa279e84012eaffcad321bb3cd1ed166.tar.bz2
mpv-8368ead1fa279e84012eaffcad321bb3cd1ed166.tar.xz
ao_wasapi: make find_deviceID read only wrt struct ao
This makes it clearer that state->device is being allocated.
Diffstat (limited to 'audio/out/ao_wasapi_utils.h')
-rw-r--r--audio/out/ao_wasapi_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.h b/audio/out/ao_wasapi_utils.h
index 1d0c0e5dcd..410eaeda14 100644
--- a/audio/out/ao_wasapi_utils.h
+++ b/audio/out/ao_wasapi_utils.h
@@ -38,7 +38,7 @@ char *mp_HRESULT_to_str_buf(char *buf, size_t buf_size, HRESULT hr);
bool wasapi_fill_VistaBlob(wasapi_state *state);
void wasapi_list_devs(struct ao *ao, struct ao_device_list *list);
-bool find_device(struct ao *ao);
+LPWSTR find_deviceID(struct ao *ao);
void wasapi_dispatch(struct ao *ao);
HRESULT wasapi_thread_init(struct ao *ao);