Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Sound_Library v2.00 Component Reference
|
|
[ TDx_Sound3DBuffer::GetMode() ]
[ next: GetPosition() ]
[ prev: GetMinDistance() ]
public:
virtual bool __fastcall GetMode( dword* pMode );
TDX_SOUND3DBUFFER::GETMODE()
[ component method ]
- Description
The
TDx_Sound3DBuffer::GetMode
method
will
return
the
current
mode
of
3D
sound
processing
operation.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
Mode
The Mode parameter will reference flags indicating the current mode setting if this method returns successfully.
The described effect applies when the flag is set.
DS3DMODE_DISABLE
There is no 3D sound processing.
Sounds will appear to originate from the center of the listeners head.
DS3DMODE_HEADRELATIVE
The 3D sound properties are relative to the properties of the listener.
Absolute sound properties will be updated automatically as the listener's properties change, maintaining constant relative propeties as a result.
DS3DMODE_NORMAL
The 3D sounds are processed normally.
This is the default.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|