Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Sound_Library v2.00 Component Reference
|
|
[ TDSBufferDesc::Guid3DAlgorithm ]
[ next: Size ]
[ prev: Format ]
public:
__property GUID Guid3DAlgorithm = { read=FGetGuid3DAlgorithm, write=FSetGuid3DAlgorithm, nodefault };
TDSBUFFERDESC::GUID3DALGORITHM
[ component property ]
- Description
The Guid3DAlgorithm property defines which 2 speaker virtualization algorithm should be used for software emulated 3D sounds.
The described effect applies when the flag is set.
DSCAPS_CTRL3D must be set or this property will be ignored, in which case GUID_NULL should be set. Setting GUID_NULL is identical to setting DS3DALG_DEFAULT.
Speaker configuration is set using TDx_Sound::SetSpeakerConfig(), but sound processing will still behave as if a two-speaker sound configuration was choosen (two speaker or headphone) regardless of the actual setting.
- Flags
DS3DALG _DEFAULT
The DS3DALG_NO_VIRTUALIZATION algorithm is currently the default setting.
DS3DALG _NO_VIRTUALIZATION
3D sounds are mapped onto a normal stereo panning function.
Thus, at 90 degrees left, sound will only come from the left speaker and at 90 degrees right, sound will only come from the right speaker.
There is no processing for vertical axis displacement, but distance and doppler volume scaling are applied without 3D filtering.
This algorithm is very efficient and can be accelerated using a 2D hardware voice if no 3D voices are available, since it only uses stereo panning, but no Head Related Transfer Function (HRTF) processing will be done.
This algorithm will work for both WDM and Vxd drivers
DS3DALG_HRTF_FULL
3D sounds are processed using a high quality 3D audio algorithm.
This setting utilizes the most CPU time, but gives the highest quality 3D audio effect.
Buffers created with this flag that use a HRTF algorithm that is not supported by the system will use the DS3DALG_NO_VIRTUALIZATION setting instead.
This algorithm will work for Windows 98 2nd Ed and Windows 2000 when using WDM drivers.
DS3DALG_HRTF_LIGHT
3D sounds are processed using a medium quality 3D audio algorithm.
This setting utilizes less CPU time, but gives a slightly lower quality 3D audio effect.
Buffers created with this flag that use a HRTF algorithm that is not supported by the system will use the DS3DALG_NO_VIRTUALIZATION setting instead.
This algorithm will work for Windows 98 2nd Ed and Windows 2000 when using WDM drivers.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|