diff options
author | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2014-03-11 03:46:22 -0300 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2014-03-11 16:37:22 -0300 |
commit | c5012946ee8273cb1c2879c9299e5959e7766ffc (patch) | |
tree | 06f934827c205888df77e82e017413f9cb3d4bd3 /audio/out/ao_wasapi.h | |
parent | f8bdada77f992410deb4fc12652cf406d95e3657 (diff) | |
download | mpv-c5012946ee8273cb1c2879c9299e5959e7766ffc.tar.bz2 mpv-c5012946ee8273cb1c2879c9299e5959e7766ffc.tar.xz |
ao_wasapi: Implement AOCONTROL_UPDATE_STREAM_TITLE
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-x | audio/out/ao_wasapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h index d17b2504a0..4fe80a6c8f 100755 --- a/audio/out/ao_wasapi.h +++ b/audio/out/ao_wasapi.h @@ -24,6 +24,7 @@ #define _WIN32_WINNT 0x600 #include <audioclient.h> +#include <audiopolicy.h> #include <mmdeviceapi.h> #include <avrt.h> @@ -58,6 +59,7 @@ typedef struct wasapi_state { IAudioRenderClient *pRenderClient; ISimpleAudioVolume *pAudioVolume; IAudioEndpointVolume *pEndpointVolume; + IAudioSessionControl *pSessionControl; HANDLE hFeed; /* wasapi event */ HANDLE hForceFeed; /* forces writing a buffer (e.g. before audio_resume) */ HANDLE hFeedDone; /* set only after a hForceFeed */ @@ -70,6 +72,7 @@ typedef struct wasapi_state { IAudioClient *pAudioClientProxy; ISimpleAudioVolume *pAudioVolumeProxy; IAudioEndpointVolume *pEndpointVolumeProxy; + IAudioSessionControl *pSessionControlProxy; /* Streams used to marshal the proxy objects. The thread owning the actual objects needs to marshal proxy objects into these streams, and the thread that wants the @@ -77,6 +80,7 @@ typedef struct wasapi_state { IStream *sAudioClient; IStream *sAudioVolume; IStream *sEndpointVolume; + IStream *sSessionControl; /* WASAPI internal clock information, for estimating delay */ IAudioClock *pAudioClock; |