Share via


FullDuplex.FullDuplex Constructor ()

Initializes a new instance of the FullDuplex class.

Overload List

public FullDuplex(CaptureBufferDescription, BufferDescription, Control, CooperativeLevel, ref CaptureBuffer, ref SecondaryBuffer);
public FullDuplex(CaptureBufferDescription, BufferDescription, IntPtr, CooperativeLevel, ref CaptureBuffer, ref SecondaryBuffer);
public FullDuplex(Guid, Guid, CaptureBufferDescription, BufferDescription, Control, CooperativeLevel, ref CaptureBuffer, ref SecondaryBuffer);
public FullDuplex(Guid, Guid, CaptureBufferDescription, BufferDescription, IntPtr, CooperativeLevel, ref CaptureBuffer, ref SecondaryBuffer);

Remarks

Exceptions

AllocatedException

The request failed because resources, such as a priority level, were already in use by another caller.

ArgumentExceptionLeave Site

An invalid parameter was passed to the called method.

InvalidCallException

The method call is invalid for the current state of this object.

NoAggregationException

The object does not support aggregation.

NoDriverException

No sound driver is available for use, or the given GUID is not a valid Microsoft DirectSound device identifier (ID).

OutOfMemoryExceptionLeave Site

DirectSound could not allocate sufficient memory to complete the call.