Platform SDK: DirectX

DirectSound3DBuffer.SetAllParameters

The DirectSound3DBuffer.SetAllParameters method sets all 3-D properties of a sound buffer.

object.SetAllParameters(buffer As DS3DBUFFER, _
    applyFlag As CONST_DS3DAPPLYFLAGS)

Parameters

object
Object expression that resolves to a DirectSound3DBuffer object.
buffer
DS3DBUFFER type containing the information that describes the 3-D characteristics of the sound buffer.
applyFlag
Value that indicates when the setting should be applied. This value 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.