Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
17c8b8e2
Commit
17c8b8e2
authored
22 years ago
by
Rok Mandeljc
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Implemented IDirectSound3DListenerImpl_Get*() functions.
parent
d069af18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/dsound/sound3d.c
+25
-8
25 additions, 8 deletions
dlls/dsound/sound3d.c
with
25 additions
and
8 deletions
dlls/dsound/sound3d.c
+
25
−
8
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment