The
TDx_Sound3DListener::GetVelocity
method
will
return
the
current
velocity
set
for
the
listener.
This
value
is
used
to
calculate
doppler
effects
only,
it
is
up
to
the
application
to
move
the
buffer
appropriately.
The
default
velocity
is
(0,0,0).
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value: TDX_BADPARAMS DSERR_INVALIDPARAM