DirectSound3DBuffer8.SetMode
Sets the operation mode for 3-D sound processing.
object.SetMode( _
mode As CONST_DS3DMODEFLAGS, _
applyFlag As CONST_DS3DAPPLYFLAGS)
Parts
- object
- Resolves to a DirectSound3DBuffer8 object.
- mode
- One of the constants of the CONST_DS3DMODEFLAGS enumeration that specifies the 3-D sound processing mode to set.
- applyFlag
- Value that specifies when the setting should be applied. Must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration.
Error Codes
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.