www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx_Sound_Library v1.90 Component Reference
|
|
[ TDx_Sound::SetSpeakerConfig() ]
[ prev: SetCooperativeLevel() ]
public:
virtual bool __fastcall SetSpeakerConfig( dword pSpeakerConfig );
TDX_SOUND::SETSPEAKERCONFIG()
[ component method ]
- Description
The
TDx_Sound::SetSpeakerConfig
method
will
define
the
speaker
configuration
settings.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
DSERR_INVALIDPARAM
DSERR_UNINITIALIZED
- Parameters
SpeakerConfig
The SpeakerConfig parameter defines flags indicating the speaker configuration to be set.
The described effect applies when the flag is set.
When defining a geometry value, the following macro must be used to pack this parameter correctly.
DSSPEAKER_COMBINED(DSSPEAKER_STEREO, DSSPEAKER_GEOMETRY_value)
DSSPEAKER_5POINT1
Surround sound speakers are being used with a subwoofer.
DSSPEAKER_GEOMETRY_MAX
The stereo speakers are placed such as to have an arc of 180 degrees.
DSSPEAKER_GEOMETRY_MIN
The stereo speakers are placed such as to have an arc of 5 degrees.
DSSPEAKER_GEOMETRY_NARROW
The stereo speakers are placed such as to have an arc of 10 degrees.
DSSPEAKER_GEOMETRY_WIDE
The stereo speakers are placed such as to have an arc of 20 degrees.
DSSPEAKER_HEADPHONE
Headphones are being used.
DSSPEAKER_MONO
A single speaker is being used.
DSSPEAKER_QUAD
Quadraphonic speakers are being used.
DSSPEAKER_STEREO
Stereo speakers are being used.
This is the default value.
DSSPEAKER_SURROUND
Surround sound speakers are being used.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
|
|