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::GetConeOutsideVolume() ]
[ next: GetMaxDistance() ]
[ prev: GetConeOrientation() ]
public:
virtual bool __fastcall GetConeOutsideVolume( long* pConeOutsideVolume );
TDX_SOUND3DBUFFER::GETCONEOUTSIDEVOLUME()
[ component method ]
- Description
The
TDx_Sound3DBuffer::GetConeOutsideVolume
method
will
return
the
current
volume,
in
100ths
of
a
decibel,
set
for
the
outside
cone
of
the
sound
buffer.
This
volume
is
expressed
as
an
attenuation
value
and
is
subtracted
from
the
normal
volume
levels.
The
minimum,
maximum
and
default
cone
outside
volumes
are
defined
in
the
dsound.h
DSBVOLUME_MIN,
DSBVOLUME_MAX
and
DS3D_DEFAULTCONEOUTSIDEVOLUME
members
as
-10000,
0
and
0
respectively.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
ConeOutsideVolume
The ConeOutsideVolume parameter will reference the current volume setting for the outside cone of the buffer if this method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|