Listener3D.Deferred Property (Microsoft.DirectX.DirectSound)

Determines if settings are set immediately or deferred.

Definition

Visual Basic Public Property Deferred As Boolean
C# public bool Deferred { get; set; }
C++ public:
property bool Deferred {
        bool get();
        void set(bool value);
}
JScript public function get Deferred() : boolean
public function set Deferred(boolean);

Property Value

System.Boolean
Value that is false if the settings are set immediately at play time, or true if settings are set with the CommitDeferredSettings mothod.

This property is read/write. 

Remarks

Every change to 3-D sound buffer and listener settings causes remixing, at the expense of CPU cycles. To minimize the performance impact of changing 3-D settings, set the Deferred property of the Listener3D object to true. Then call the CommitDeferredSettings method to execute all of the deferred commands at once.

Deferred settings are overwritten by immediate settings.