Commit 4cee5af0 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

mmdevapi: Import GetAudioSessionWrapper() from driver.

parent 8f31a253
...@@ -101,6 +101,7 @@ static BOOL load_driver(const WCHAR *name, DriverFuncs *driver) ...@@ -101,6 +101,7 @@ static BOOL load_driver(const WCHAR *name, DriverFuncs *driver)
LDFC(GetEndpointIDs); LDFC(GetEndpointIDs);
LDFC(GetAudioEndpoint); LDFC(GetAudioEndpoint);
LDFC(GetAudioSessionManager); LDFC(GetAudioSessionManager);
LDFC(GetAudioSessionWrapper);
#undef LDFC #undef LDFC
/* optional - do not fail if not found */ /* optional - do not fail if not found */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <wine/list.h> #include <wine/list.h>
#include <wine/unixlib.h> #include <wine/unixlib.h>
#include "mmdevdrv.h"
#include "unixlib.h" #include "unixlib.h"
extern HRESULT MMDevEnum_Create(REFIID riid, void **ppv) DECLSPEC_HIDDEN; extern HRESULT MMDevEnum_Create(REFIID riid, void **ppv) DECLSPEC_HIDDEN;
...@@ -50,6 +51,8 @@ typedef struct _DriverFuncs { ...@@ -50,6 +51,8 @@ typedef struct _DriverFuncs {
IAudioClient **out); IAudioClient **out);
HRESULT (WINAPI *pGetAudioSessionManager)(IMMDevice *device, HRESULT (WINAPI *pGetAudioSessionManager)(IMMDevice *device,
IAudioSessionManager2 **out); IAudioSessionManager2 **out);
HRESULT (WINAPI *pGetAudioSessionWrapper)(const GUID *guid, IMMDevice *device,
struct audio_session_wrapper **out);
HRESULT (WINAPI *pGetPropValue)(GUID *guid, HRESULT (WINAPI *pGetPropValue)(GUID *guid,
const PROPERTYKEY *prop, PROPVARIANT *out); const PROPERTYKEY *prop, PROPVARIANT *out);
} DriverFuncs; } DriverFuncs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment