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
02bd4ad4
Commit
02bd4ad4
authored
Aug 22, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Aug 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Remove unused parameter from propset functions.
parent
4ff90b47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
50 deletions
+30
-50
propset.c
dlls/dsound/propset.c
+30
-50
No files found.
dlls/dsound/propset.c
View file @
02bd4ad4
...
...
@@ -268,15 +268,14 @@ static ULONG WINAPI IKsPrivatePropertySetImpl_Release(LPKSPROPERTYSET iface)
}
static
HRESULT
WINAPI
DSPROPERTY_WaveDeviceMappingA
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
HRESULT
hr
=
DSERR_INVALIDPARAM
;
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
ppd
;
TRACE
(
"(
guidPropSet=%s,pPropData=%p,cbPropData=%ld,pcbReturned=%p) not implemented!
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
)
pPropData
;
...
...
@@ -332,15 +331,14 @@ static HRESULT WINAPI DSPROPERTY_WaveDeviceMappingA(
}
static
HRESULT
WINAPI
DSPROPERTY_WaveDeviceMappingW
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
HRESULT
hr
=
DSERR_INVALIDPARAM
;
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
ppd
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
)
pPropData
;
...
...
@@ -396,7 +394,6 @@ static HRESULT WINAPI DSPROPERTY_WaveDeviceMappingW(
}
static
HRESULT
WINAPI
DSPROPERTY_Description1
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
...
...
@@ -404,8 +401,8 @@ static HRESULT WINAPI DSPROPERTY_Description1(
HRESULT
err
;
GUID
guid
,
dev_guid
;
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
ppd
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
)
pPropData
;
...
...
@@ -424,8 +421,8 @@ static HRESULT WINAPI DSPROPERTY_Description1(
}
else
{
TRACE
(
"DataFlow=Unknown(%d)
\n
"
,
ppd
->
DataFlow
);
}
FIXME
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
FIXME
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
return
E_PROP_ID_UNSUPPORTED
;
}
...
...
@@ -577,7 +574,6 @@ static HRESULT WINAPI DSPROPERTY_Description1(
}
static
HRESULT
WINAPI
DSPROPERTY_DescriptionA
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
...
...
@@ -585,8 +581,8 @@ static HRESULT WINAPI DSPROPERTY_DescriptionA(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
)
pPropData
;
HRESULT
err
;
GUID
dev_guid
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"DeviceId=%s
\n
"
,
debugstr_guid
(
&
ppd
->
DeviceId
));
if
(
IsEqualGUID
(
&
ppd
->
DeviceId
,
&
GUID_NULL
)
)
{
...
...
@@ -598,8 +594,8 @@ static HRESULT WINAPI DSPROPERTY_DescriptionA(
}
else
{
TRACE
(
"DataFlow=Unknown(%d)
\n
"
,
ppd
->
DataFlow
);
}
FIXME
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
FIXME
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
return
E_PROP_ID_UNSUPPORTED
;
}
...
...
@@ -818,7 +814,6 @@ static HRESULT WINAPI DSPROPERTY_DescriptionA(
}
static
HRESULT
WINAPI
DSPROPERTY_DescriptionW
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
...
...
@@ -826,8 +821,8 @@ static HRESULT WINAPI DSPROPERTY_DescriptionW(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
)
pPropData
;
HRESULT
err
;
GUID
dev_guid
;
TRACE
(
"
(guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"DeviceId=%s
\n
"
,
debugstr_guid
(
&
ppd
->
DeviceId
));
if
(
IsEqualGUID
(
&
ppd
->
DeviceId
,
&
GUID_NULL
)
)
{
...
...
@@ -839,8 +834,8 @@ static HRESULT WINAPI DSPROPERTY_DescriptionW(
}
else
{
TRACE
(
"DataFlow=Unknown(%d)
\n
"
,
ppd
->
DataFlow
);
}
FIXME
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
FIXME
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p) GUID_NULL not implemented!
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
return
E_PROP_ID_UNSUPPORTED
;
}
...
...
@@ -1060,17 +1055,15 @@ static HRESULT WINAPI DSPROPERTY_DescriptionW(
}
static
HRESULT
WINAPI
DSPROPERTY_Enumerate1
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
)
pPropData
;
HRESULT
err
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
if
(
IsEqualGUID
(
&
DSPROPSETID_DirectSoundDevice
,
guidPropSet
)
)
{
if
(
ppd
)
{
if
(
ppd
->
Callback
)
{
unsigned
devs
,
wod
,
wid
;
...
...
@@ -1134,9 +1127,6 @@ static HRESULT WINAPI DSPROPERTY_Enumerate1(
return
S_OK
;
}
}
}
else
{
FIXME
(
"unsupported property: %s
\n
"
,
debugstr_guid
(
guidPropSet
));
}
if
(
pcbReturned
)
{
*
pcbReturned
=
0
;
...
...
@@ -1147,17 +1137,15 @@ static HRESULT WINAPI DSPROPERTY_Enumerate1(
}
static
HRESULT
WINAPI
DSPROPERTY_EnumerateA
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
)
pPropData
;
HRESULT
err
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
if
(
IsEqualGUID
(
&
DSPROPSETID_DirectSoundDevice
,
guidPropSet
)
)
{
if
(
ppd
)
{
if
(
ppd
->
Callback
)
{
unsigned
devs
,
wod
,
wid
;
...
...
@@ -1249,9 +1237,6 @@ static HRESULT WINAPI DSPROPERTY_EnumerateA(
return
S_OK
;
}
}
}
else
{
FIXME
(
"unsupported property: %s
\n
"
,
debugstr_guid
(
guidPropSet
));
}
if
(
pcbReturned
)
{
*
pcbReturned
=
0
;
...
...
@@ -1262,17 +1247,15 @@ static HRESULT WINAPI DSPROPERTY_EnumerateA(
}
static
HRESULT
WINAPI
DSPROPERTY_EnumerateW
(
REFGUID
guidPropSet
,
LPVOID
pPropData
,
ULONG
cbPropData
,
PULONG
pcbReturned
)
{
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
ppd
=
(
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
)
pPropData
;
HRESULT
err
;
TRACE
(
"(
guidPropSet=%s,
pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
debugstr_guid
(
guidPropSet
),
pPropData
,
cbPropData
,
pcbReturned
);
TRACE
(
"(pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
pPropData
,
cbPropData
,
pcbReturned
);
if
(
IsEqualGUID
(
&
DSPROPSETID_DirectSoundDevice
,
guidPropSet
)
)
{
if
(
ppd
)
{
if
(
ppd
->
Callback
)
{
unsigned
devs
,
wod
,
wid
;
...
...
@@ -1373,9 +1356,6 @@ static HRESULT WINAPI DSPROPERTY_EnumerateW(
return
S_OK
;
}
}
}
else
{
FIXME
(
"unsupported property: %s
\n
"
,
debugstr_guid
(
guidPropSet
));
}
if
(
pcbReturned
)
{
*
pcbReturned
=
0
;
...
...
@@ -1402,21 +1382,21 @@ static HRESULT WINAPI IKsPrivatePropertySetImpl_Get(
if
(
IsEqualGUID
(
&
DSPROPSETID_DirectSoundDevice
,
guidPropSet
)
)
{
switch
(
dwPropID
)
{
case
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
:
return
DSPROPERTY_WaveDeviceMappingA
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_WaveDeviceMappingA
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1
:
return
DSPROPERTY_Description1
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_Description1
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1
:
return
DSPROPERTY_Enumerate1
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_Enumerate1
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
:
return
DSPROPERTY_WaveDeviceMappingW
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_WaveDeviceMappingW
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
:
return
DSPROPERTY_DescriptionA
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_DescriptionA
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
:
return
DSPROPERTY_DescriptionW
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_DescriptionW
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
:
return
DSPROPERTY_EnumerateA
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_EnumerateA
(
pPropData
,
cbPropData
,
pcbReturned
);
case
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
:
return
DSPROPERTY_EnumerateW
(
guidPropSet
,
pPropData
,
cbPropData
,
pcbReturned
);
return
DSPROPERTY_EnumerateW
(
pPropData
,
cbPropData
,
pcbReturned
);
default:
FIXME
(
"unsupported ID: %ld
\n
"
,
dwPropID
);
break
;
...
...
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