BufferDescription.LocateInHardware Property (Microsoft.DirectX.DirectSound)

Specifies whether the buffer must use hardware mixing.

Definition

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

Property Value

System.Boolean
This value is set to true if the buffer must use hardware mixing; otherwise, false.

This property is read/write. 

Remarks

If an attempt is made to create a Buffer or SecondaryBuffer with BufferDescription.LocateInHardware set to true on a system where hardware acceleration is not available, the constructor method will fail.

The application must ensure that a mixing channel is available for the buffer.

If neither BufferDescription.LocateInHardware nor BufferDescription.LocateInSoftware is specified, the buffer is placed in hardware if resources are available, or in software if hardware resources are not available. Hardware buffers are not supported in 64-bit operating systems.