Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4cee5af0
Commit
4cee5af0
authored
Apr 12, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
Apr 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Import GetAudioSessionWrapper() from driver.
parent
8f31a253
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
main.c
dlls/mmdevapi/main.c
+1
-0
mmdevapi_private.h
dlls/mmdevapi/mmdevapi_private.h
+3
-0
No files found.
dlls/mmdevapi/main.c
View file @
4cee5af0
...
...
@@ -101,6 +101,7 @@ static BOOL load_driver(const WCHAR *name, DriverFuncs *driver)
LDFC
(
GetEndpointIDs
);
LDFC
(
GetAudioEndpoint
);
LDFC
(
GetAudioSessionManager
);
LDFC
(
GetAudioSessionWrapper
);
#undef LDFC
/* optional - do not fail if not found */
...
...
dlls/mmdevapi/mmdevapi_private.h
View file @
4cee5af0
...
...
@@ -23,6 +23,7 @@
#include <wine/list.h>
#include <wine/unixlib.h>
#include "mmdevdrv.h"
#include "unixlib.h"
extern
HRESULT
MMDevEnum_Create
(
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
...
...
@@ -50,6 +51,8 @@ typedef struct _DriverFuncs {
IAudioClient
**
out
);
HRESULT
(
WINAPI
*
pGetAudioSessionManager
)(
IMMDevice
*
device
,
IAudioSessionManager2
**
out
);
HRESULT
(
WINAPI
*
pGetAudioSessionWrapper
)(
const
GUID
*
guid
,
IMMDevice
*
device
,
struct
audio_session_wrapper
**
out
);
HRESULT
(
WINAPI
*
pGetPropValue
)(
GUID
*
guid
,
const
PROPERTYKEY
*
prop
,
PROPVARIANT
*
out
);
}
DriverFuncs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment