Platform SDK: DirectX |
The DirectSound.SetSpeakerConfig method specifies the speaker configuration of the DirectSound object.
object.SetSpeakerConfig( _ speakerConfig As CONST_DSSPEAKERFLAGS)
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 passing one of the speaker geometry flags combined with the DSSPEAKER_STEREO flag.