Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the speaker configuration for this DirectSound8 object.
object.GetSpeakerConfig() As CONST_DSSPEAKERFLAGS
Returns a Long value containing one or more of the constants of the CONST_DSSPEAKERFLAGS enumeration.
If the method fails, an error is raised and Err.Number may be one of the following error values.
DSERR_INVALIDPARAM |
DSERR_UNINITIALIZED |
The speaker geometry is set by default to zero, which states that the speaker geometry has not been defined. The geometry must be explicitly set by using the DirectSound8.SetSpeakerConfig method and passing one of the speaker geometry flags with the DSSPEAKER_STEREO flag.