Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d305d867
Commit
d305d867
authored
Nov 23, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Remove DECLSPEC_HIDDEN usage.
parent
e7d3c429
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
client.c
dlls/mmdevapi/client.c
+4
-4
mmdevapi_private.h
dlls/mmdevapi/mmdevapi_private.h
+11
-11
session.c
dlls/mmdevapi/session.c
+3
-3
No files found.
dlls/mmdevapi/client.c
View file @
d305d867
...
...
@@ -40,12 +40,12 @@ typedef struct tagLANGANDCODEPAGE
WORD
wCodePage
;
}
LANGANDCODEPAGE
;
extern
void
sessions_lock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
sessions_unlock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
sessions_lock
(
void
);
extern
void
sessions_unlock
(
void
);
extern
HRESULT
get_audio_session
(
const
GUID
*
sessionguid
,
IMMDevice
*
device
,
UINT
channels
,
struct
audio_session
**
out
)
DECLSPEC_HIDDEN
;
extern
struct
audio_session_wrapper
*
session_wrapper_create
(
struct
audio_client
*
client
)
DECLSPEC_HIDDEN
;
struct
audio_session
**
out
);
extern
struct
audio_session_wrapper
*
session_wrapper_create
(
struct
audio_client
*
client
);
static
HANDLE
main_loop_thread
;
...
...
dlls/mmdevapi/mmdevapi_private.h
View file @
d305d867
...
...
@@ -28,8 +28,8 @@
#include "unixlib.h"
#include "mmdevdrv.h"
extern
HRESULT
MMDevEnum_Create
(
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
void
MMDevEnum_Free
(
void
)
DECLSPEC_HIDDEN
;
extern
HRESULT
MMDevEnum_Create
(
REFIID
riid
,
void
**
ppv
);
extern
void
MMDevEnum_Free
(
void
);
typedef
struct
_DriverFuncs
{
HMODULE
module
;
...
...
@@ -46,7 +46,7 @@ typedef struct _DriverFuncs {
BOOL
(
WINAPI
*
pget_device_name_from_guid
)(
GUID
*
guid
,
char
**
name
,
EDataFlow
*
flow
);
}
DriverFuncs
;
extern
DriverFuncs
drvs
DECLSPEC_HIDDEN
;
extern
DriverFuncs
drvs
;
typedef
struct
MMDevice
{
IMMDevice
IMMDevice_iface
;
...
...
@@ -69,14 +69,14 @@ static inline void wine_unix_call(const unsigned int code, void *args)
assert
(
!
status
);
}
extern
HRESULT
AudioClient_Create
(
GUID
*
guid
,
IMMDevice
*
device
,
IAudioClient
**
out
)
DECLSPEC_HIDDEN
;
extern
HRESULT
AudioEndpointVolume_Create
(
MMDevice
*
parent
,
IAudioEndpointVolumeEx
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
AudioSessionManager_Create
(
IMMDevice
*
device
,
IAudioSessionManager2
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
SpatialAudioClient_Create
(
IMMDevice
*
device
,
ISpatialAudioClient
**
out
)
DECLSPEC_HIDDEN
;
extern
HRESULT
AudioClient_Create
(
GUID
*
guid
,
IMMDevice
*
device
,
IAudioClient
**
out
);
extern
HRESULT
AudioEndpointVolume_Create
(
MMDevice
*
parent
,
IAudioEndpointVolumeEx
**
ppv
);
extern
HRESULT
AudioSessionManager_Create
(
IMMDevice
*
device
,
IAudioSessionManager2
**
ppv
);
extern
HRESULT
SpatialAudioClient_Create
(
IMMDevice
*
device
,
ISpatialAudioClient
**
out
);
extern
HRESULT
load_devices_from_reg
(
void
)
DECLSPEC_HIDDEN
;
extern
HRESULT
load_driver_devices
(
EDataFlow
flow
)
DECLSPEC_HIDDEN
;
extern
HRESULT
load_devices_from_reg
(
void
);
extern
HRESULT
load_driver_devices
(
EDataFlow
flow
);
extern
void
main_loop_stop
(
void
)
DECLSPEC_HIDDEN
;
extern
void
main_loop_stop
(
void
);
extern
const
WCHAR
drv_keyW
[]
DECLSPEC_HIDDEN
;
extern
const
WCHAR
drv_keyW
[];
dlls/mmdevapi/session.c
View file @
d305d867
...
...
@@ -34,10 +34,10 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mmdevapi
);
extern
void
sessions_lock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
sessions_unlock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
sessions_lock
(
void
);
extern
void
sessions_unlock
(
void
);
extern
void
set_stream_volumes
(
struct
audio_client
*
This
)
DECLSPEC_HIDDEN
;
extern
void
set_stream_volumes
(
struct
audio_client
*
This
);
static
struct
list
sessions
=
LIST_INIT
(
sessions
);
...
...
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