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
17c8b8e2
Commit
17c8b8e2
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 IDirectSound3DListenerImpl_Get*() functions.
parent
d069af18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
sound3d.c
dlls/dsound/sound3d.c
+25
-8
No files found.
dlls/dsound/sound3d.c
View file @
17c8b8e2
...
...
@@ -126,7 +126,7 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters(
LPDS3DBUFFER
lpDs3dBuffer
)
{
ICOM_THIS
(
IDirectSound3DBufferImpl
,
iface
);
TRACE
(
"returning all parameters
\n
"
);
TRACE
(
"returning
:
all parameters
\n
"
);
*
lpDs3dBuffer
=
This
->
ds3db
;
return
DS_OK
;
}
...
...
@@ -403,7 +403,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter(
LPDIRECTSOUND3DLISTENER
iface
,
LPDS3DLISTENER
lpDS3DL
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: all parameters
\n
"
);
*
lpDS3DL
=
This
->
ds3dl
;
return
DS_OK
;
}
...
...
@@ -411,7 +413,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetDistanceFactor(
LPDIRECTSOUND3DLISTENER
iface
,
LPD3DVALUE
lpfDistanceFactor
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: Distance Factor = %f
\n
"
,
This
->
ds3dl
.
flDistanceFactor
);
*
lpfDistanceFactor
=
This
->
ds3dl
.
flDistanceFactor
;
return
DS_OK
;
}
...
...
@@ -419,7 +423,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetDopplerFactor(
LPDIRECTSOUND3DLISTENER
iface
,
LPD3DVALUE
lpfDopplerFactor
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: Doppler Factor = %f
\n
"
,
This
->
ds3dl
.
flDopplerFactor
);
*
lpfDopplerFactor
=
This
->
ds3dl
.
flDopplerFactor
;
return
DS_OK
;
}
...
...
@@ -428,7 +434,12 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetOrientation(
LPD3DVECTOR
lpvOrientFront
,
LPD3DVECTOR
lpvOrientTop
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: OrientFront vector = (%f,%f,%f); OrientTop vector = (%f,%f,%f)
\n
"
,
This
->
ds3dl
.
vOrientFront
.
u1
.
x
,
\
This
->
ds3dl
.
vOrientFront
.
u2
.
y
,
This
->
ds3dl
.
vOrientFront
.
u3
.
z
,
This
->
ds3dl
.
vOrientTop
.
u1
.
x
,
This
->
ds3dl
.
vOrientTop
.
u2
.
y
,
\
This
->
ds3dl
.
vOrientTop
.
u3
.
z
);
*
lpvOrientFront
=
This
->
ds3dl
.
vOrientFront
;
*
lpvOrientTop
=
This
->
ds3dl
.
vOrientTop
;
return
DS_OK
;
}
...
...
@@ -436,7 +447,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetPosition(
LPDIRECTSOUND3DLISTENER
iface
,
LPD3DVECTOR
lpvPosition
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: Position vector = (%f,%f,%f)
\n
"
,
This
->
ds3dl
.
vPosition
.
u1
.
x
,
This
->
ds3dl
.
vPosition
.
u2
.
y
,
This
->
ds3dl
.
vPosition
.
u3
.
z
);
*
lpvPosition
=
This
->
ds3dl
.
vPosition
;
return
DS_OK
;
}
...
...
@@ -444,7 +457,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetRolloffFactor(
LPDIRECTSOUND3DLISTENER
iface
,
LPD3DVALUE
lpfRolloffFactor
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: RolloffFactor = %f
\n
"
,
This
->
ds3dl
.
flRolloffFactor
);
*
lpfRolloffFactor
=
This
->
ds3dl
.
flRolloffFactor
;
return
DS_OK
;
}
...
...
@@ -452,7 +467,9 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetVelocity(
LPDIRECTSOUND3DLISTENER
iface
,
LPD3DVECTOR
lpvVelocity
)
{
FIXME
(
"stub
\n
"
);
ICOM_THIS
(
IDirectSound3DListenerImpl
,
iface
);
TRACE
(
"returning: Velocity vector = (%f,%f,%f)
\n
"
,
This
->
ds3dl
.
vVelocity
.
u1
.
x
,
This
->
ds3dl
.
vVelocity
.
u2
.
y
,
This
->
ds3dl
.
vVelocity
.
u3
.
z
);
*
lpvVelocity
=
This
->
ds3dl
.
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