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
dcc5b4fe
Commit
dcc5b4fe
authored
Dec 12, 2002
by
Rok Mandeljc
Committed by
Alexandre Julliard
Dec 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented some stubs.
parent
8232cbda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
9 deletions
+28
-9
sound3d.c
dlls/dsound/sound3d.c
+28
-9
No files found.
dlls/dsound/sound3d.c
View file @
dcc5b4fe
...
...
@@ -125,7 +125,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters(
LPDIRECTSOUND3DBUFFER
iface
,
LPDS3DBUFFER
lpDs3dBuffer
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning all parameters
\n
"
);
*
lpDs3dBuffer
=
This
->
ds3db
;
return
DS_OK
;
}
...
...
@@ -134,7 +136,10 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeAngles(
LPDWORD
lpdwInsideConeAngle
,
LPDWORD
lpdwOutsideConeAngle
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Inside Cone Angle = %ld degrees; Outside Cone Angle = %ld degrees
\n
"
,
This
->
ds3db
.
dwInsideConeAngle
,
This
->
ds3db
.
dwOutsideConeAngle
);
*
lpdwInsideConeAngle
=
This
->
ds3db
.
dwInsideConeAngle
;
*
lpdwOutsideConeAngle
=
This
->
ds3db
.
dwOutsideConeAngle
;
return
DS_OK
;
}
...
...
@@ -142,7 +147,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeOrientation(
LPDIRECTSOUND3DBUFFER
iface
,
LPD3DVECTOR
lpvConeOrientation
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Cone Orientation vector = (%f,%f,%f)
\n
"
,
This
->
ds3db
.
vConeOrientation
.
u1
.
x
,
This
->
ds3db
.
vConeOrientation
.
u2
.
y
,
This
->
ds3db
.
vConeOrientation
.
u3
.
z
);
*
lpvConeOrientation
=
This
->
ds3db
.
vConeOrientation
;
return
DS_OK
;
}
...
...
@@ -150,7 +157,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetConeOutsideVolume(
LPDIRECTSOUND3DBUFFER
iface
,
LPLONG
lplConeOutsideVolume
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Cone Outside Volume = %ld
\n
"
,
This
->
ds3db
.
lConeOutsideVolume
);
*
lplConeOutsideVolume
=
This
->
ds3db
.
lConeOutsideVolume
;
return
DS_OK
;
}
...
...
@@ -158,7 +167,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetMaxDistance(
LPDIRECTSOUND3DBUFFER
iface
,
LPD3DVALUE
lpfMaxDistance
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Max Distance = %f
\n
"
,
This
->
ds3db
.
flMaxDistance
);
*
lpfMaxDistance
=
This
->
ds3db
.
flMaxDistance
;
return
DS_OK
;
}
...
...
@@ -166,7 +177,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetMinDistance(
LPDIRECTSOUND3DBUFFER
iface
,
LPD3DVALUE
lpfMinDistance
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Min Distance = %f
\n
"
,
This
->
ds3db
.
flMinDistance
);
*
lpfMinDistance
=
This
->
ds3db
.
flMinDistance
;
return
DS_OK
;
}
...
...
@@ -174,7 +187,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetMode(
LPDIRECTSOUND3DBUFFER
iface
,
LPDWORD
lpdwMode
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Mode = %ld
\n
"
,
This
->
ds3db
.
dwMode
);
*
lpdwMode
=
This
->
ds3db
.
dwMode
;
return
DS_OK
;
}
...
...
@@ -182,7 +197,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetPosition(
LPDIRECTSOUND3DBUFFER
iface
,
LPD3DVECTOR
lpvPosition
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Position vector = (%f,%f,%f)
\n
"
,
This
->
ds3db
.
vPosition
.
u1
.
x
,
This
->
ds3db
.
vPosition
.
u2
.
y
,
This
->
ds3db
.
vPosition
.
u1
.
x
);
*
lpvPosition
=
This
->
ds3db
.
vPosition
;
return
DS_OK
;
}
...
...
@@ -190,7 +207,9 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetVelocity(
LPDIRECTSOUND3DBUFFER
iface
,
LPD3DVECTOR
lpvVelocity
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning: Velocity vector = (%f,%f,%f)
\n
"
,
This
->
ds3db
.
vVelocity
.
u1
.
x
,
This
->
ds3db
.
vVelocity
.
u2
.
y
,
This
->
ds3db
.
vVelocity
.
u3
.
z
);
*
lpvVelocity
=
This
->
ds3db
.
vVelocity
;
return
DS_OK
;
}
...
...
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