diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-11-24 04:25:01 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-11-24 04:42:37 -0800 |
commit | 00b7fb30237365a530b47d451833f9b53b2bf6b9 (patch) | |
tree | 4d80b1a06b015826599b656f0a6d34271e91af06 /audio/out/ao_wasapi.c | |
parent | 4f103b209312ca8fa1471fc09ebb15c273f818b8 (diff) | |
download | mpv-00b7fb30237365a530b47d451833f9b53b2bf6b9.tar.bz2 mpv-00b7fb30237365a530b47d451833f9b53b2bf6b9.tar.xz |
ao_wasapi: get rid of Vistablob hack
This was required to work around XP linking issues and is no longer
required.
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r-- | audio/out/ao_wasapi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index 83e7f469df..2edbdf5ef0 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -237,8 +237,6 @@ static void uninit(struct ao *ao) MP_ERR(ao, "Audio loop thread refuses to abort\n"); return; } - if (state->VistaBlob.hAvrt) - FreeLibrary(state->VistaBlob.hAvrt); SAFE_RELEASE(state->hInitDone, CloseHandle(state->hInitDone)); SAFE_RELEASE(state->hWake, CloseHandle(state->hWake)); @@ -255,8 +253,6 @@ static int init(struct ao *ao) struct wasapi_state *state = ao->priv; state->log = ao->log; - if(!wasapi_fill_VistaBlob(state)) - MP_WARN(ao, "Error loading thread priority functions\n"); state->hInitDone = CreateEventW(NULL, FALSE, FALSE, NULL); state->hWake = CreateEventW(NULL, FALSE, FALSE, NULL); |