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
eb919b52
Commit
eb919b52
authored
Jan 16, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Jan 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Make dumpCooperativeLevel global.
Remove extern from some function prototypes.
parent
34ec3a63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
dsound.c
dlls/dsound/dsound.c
+1
-1
dsound_private.h
dlls/dsound/dsound_private.h
+9
-6
No files found.
dlls/dsound/dsound.c
View file @
eb919b52
...
...
@@ -45,7 +45,7 @@ static ULONG WINAPI IDirectSound8_IUnknown_AddRef(LPUNKNOWN iface);
static
ULONG
WINAPI
IDirectSound8_IDirectSound_AddRef
(
LPDIRECTSOUND
iface
);
static
ULONG
WINAPI
IDirectSound8_IDirectSound8_AddRef
(
LPDIRECTSOUND8
iface
);
static
const
char
*
dumpCooperativeLevel
(
DWORD
level
)
const
char
*
dumpCooperativeLevel
(
DWORD
level
)
{
static
char
unknown
[
32
];
#define LE(x) case x: return #x
...
...
dlls/dsound/dsound_private.h
View file @
eb919b52
...
...
@@ -491,9 +491,8 @@ struct IClassFactoryImpl
extern
IClassFactoryImpl
DSOUND_CAPTURE_CF
;
extern
IClassFactoryImpl
DSOUND_FULLDUPLEX_CF
;
void
DSOUND_RecalcVolPan
(
PDSVOLUMEPAN
volpan
);
void
DSOUND_AmpFactorToVolPan
(
PDSVOLUMEPAN
volpan
);
void
DSOUND_RecalcFormat
(
IDirectSoundBufferImpl
*
dsb
);
/*******************************************************************************
*/
/* dsound.c */
...
...
@@ -520,6 +519,9 @@ void DSOUND_ForceRemix(IDirectSoundBufferImpl *dsb);
void
DSOUND_MixCancelAt
(
IDirectSoundBufferImpl
*
dsb
,
DWORD
buf_writepos
);
void
DSOUND_WaveQueue
(
DirectSoundDevice
*
device
,
DWORD
mixq
);
void
DSOUND_PerformMix
(
DirectSoundDevice
*
device
);
void
DSOUND_RecalcVolPan
(
PDSVOLUMEPAN
volpan
);
void
DSOUND_AmpFactorToVolPan
(
PDSVOLUMEPAN
volpan
);
void
DSOUND_RecalcFormat
(
IDirectSoundBufferImpl
*
dsb
);
void
CALLBACK
DSOUND_timer
(
UINT
timerID
,
UINT
msg
,
DWORD
dwUser
,
DWORD
dw1
,
DWORD
dw2
);
void
CALLBACK
DSOUND_callback
(
HWAVEOUT
hwo
,
UINT
msg
,
DWORD
dwUser
,
DWORD
dw1
,
DWORD
dw2
);
...
...
@@ -555,6 +557,7 @@ extern GUID DSOUND_renderer_guids[MAXWAVEDRIVERS];
extern
DirectSoundCaptureDevice
*
DSOUND_capture
[
MAXWAVEDRIVERS
];
extern
GUID
DSOUND_capture_guids
[
MAXWAVEDRIVERS
];
extern
HRESULT
mmErr
(
UINT
err
);
extern
void
setup_dsound_options
(
void
);
extern
const
char
*
get_device_id
(
LPCGUID
pGuid
);
HRESULT
mmErr
(
UINT
err
);
void
setup_dsound_options
(
void
);
const
char
*
get_device_id
(
LPCGUID
pGuid
);
const
char
*
dumpCooperativeLevel
(
DWORD
level
);
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