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
c91aa7a9
Commit
c91aa7a9
authored
Jan 11, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Remove superfluous pointer casts.
parent
e1797a73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
capture.c
dlls/dsound/capture.c
+1
-1
propset.c
dlls/dsound/propset.c
+6
-6
No files found.
dlls/dsound/capture.c
View file @
c91aa7a9
...
...
@@ -801,7 +801,7 @@ IDirectSoundCaptureBufferImpl_QueryInterface(
}
}
*
ppobj
=
(
LPVOID
)
This
->
notify
;
*
ppobj
=
This
->
notify
;
return
DS_OK
;
}
...
...
dlls/dsound/propset.c
View file @
c91aa7a9
...
...
@@ -283,7 +283,7 @@ static HRESULT DSPROPERTY_WaveDeviceMappingA(
TRACE
(
"(pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
)
pPropData
;
ppd
=
pPropData
;
if
(
!
ppd
)
{
WARN
(
"invalid parameter: pPropData
\n
"
);
...
...
@@ -346,7 +346,7 @@ static HRESULT DSPROPERTY_WaveDeviceMappingW(
TRACE
(
"(pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
)
pPropData
;
ppd
=
pPropData
;
if
(
!
ppd
)
{
WARN
(
"invalid parameter: pPropData
\n
"
);
...
...
@@ -584,7 +584,7 @@ static HRESULT DSPROPERTY_DescriptionA(
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
)
pPropData
;
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
ppd
=
pPropData
;
HRESULT
err
;
GUID
dev_guid
;
TRACE
(
"(pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
...
...
@@ -824,7 +824,7 @@ static HRESULT DSPROPERTY_DescriptionW(
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
)
pPropData
;
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
ppd
=
pPropData
;
HRESULT
err
;
GUID
dev_guid
;
TRACE
(
"pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
...
...
@@ -1147,7 +1147,7 @@ static HRESULT DSPROPERTY_EnumerateA(
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
)
pPropData
;
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
ppd
=
pPropData
;
HRESULT
err
;
TRACE
(
"(pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
...
...
@@ -1257,7 +1257,7 @@ static HRESULT DSPROPERTY_EnumerateW(
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
)
pPropData
;
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
ppd
=
pPropData
;
HRESULT
err
;
TRACE
(
"(pPropData=%p,cbPropData=%d,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
...
...
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