summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-11-24 04:25:01 -0800
committerKevin Mitchell <kevmitch@gmail.com>2015-11-24 04:42:37 -0800
commit00b7fb30237365a530b47d451833f9b53b2bf6b9 (patch)
tree4d80b1a06b015826599b656f0a6d34271e91af06 /audio/out/ao_wasapi.h
parent4f103b209312ca8fa1471fc09ebb15c273f818b8 (diff)
downloadmpv-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.h')
-rwxr-xr-xaudio/out/ao_wasapi.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h
index 24b9b862ed..2fbd2d5a9c 100755
--- a/audio/out/ao_wasapi.h
+++ b/audio/out/ao_wasapi.h
@@ -79,7 +79,6 @@ typedef struct wasapi_state {
/* for setting the audio thread priority */
HANDLE hTask; /* AV thread */
- DWORD taskIndex; /* AV task ID */
/* WASAPI proxy handles, for Single-Threaded Apartment communication.
One is needed for each audio thread object that's accessed from the main thread. */
@@ -110,16 +109,6 @@ typedef struct wasapi_state {
size_t buffer_block_size; /* Size of each block in bytes */
UINT32 bufferFrameCount; /* wasapi buffer block size, number of frames, frame size at format.nBlockAlign */
- /* 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);
- WINBOOL (WINAPI *pAvRevertMmThreadCharacteristics)(HANDLE);
- } VistaBlob;
-
change_notify change;
} wasapi_state;