Platform SDK: DirectX |
The DirectSound.GetSpeakerConfig method retrieves the speaker configuration for this DirectSound object.
object.GetSpeakerConfig() As CONST_DSSPEAKERFLAGS
If the method succeeds, one or more of the constants of the CONST_DSSPEAKERFLAGS enumeration is returned.
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 DirectSound.SetSpeakerConfig method and passing one of the speaker geometry flags with the DSSPEAKER_STEREO flag.