Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the FullDuplex class.
Definition
Visual Basic Public Sub New( _
ByVal guidCapture As Guid, _
ByVal guidRender As Guid, _
ByVal captureDesc As CaptureBufferDescription, _
ByVal bufferDesc As BufferDescription, _
ByVal owner As IntPtr, _
ByVal level As CooperativeLevel, _
ByRef captureBuffer As CaptureBuffer, _
ByRef buffer As SecondaryBuffer _
)C# public FullDuplex(
GuidguidCapture,
GuidguidRender,
CaptureBufferDescription captureDesc,
BufferDescription bufferDesc,
IntPtrowner,
CooperativeLevel level,
ref CaptureBuffer captureBuffer,
ref SecondaryBuffer buffer
);C++ public:
FullDuplex(
GuidguidCapture,
GuidguidRender,
CaptureBufferDescription captureDesc,
BufferDescription^ bufferDesc,
IntPtrowner,
CooperativeLevel level,
CaptureBuffer^% captureBuffer,
SecondaryBuffer^% buffer
);JScript public function FullDuplex(
guidCapture : Guid,
guidRender : Guid,
captureDesc : CaptureBufferDescription,
bufferDesc : BufferDescription,
owner : IntPtr,
level : CooperativeLevel,
captureBuffer : CaptureBuffer,
buffer : SecondaryBuffer
);
Parameters
guidCapture System.Guid
The globally unique identifier (GUID) of the capture device driver.guidRender System.Guid
The GUID of the render device driver.captureDesc Microsoft.DirectX.DirectSound.CaptureBufferDescription
The CaptureBufferDescription that specifies the characteristics of the capture buffer.bufferDesc Microsoft.DirectX.DirectSound.BufferDescription
The BufferDescription that specifies the characteristics of the render buffer.owner System.IntPtr
The handle of the application window.level Microsoft.DirectX.DirectSound.CooperativeLevel
Cooperative level for the device.captureBuffer Microsoft.DirectX.DirectSound.CaptureBuffer
A reference to the CaptureBuffer object that is used for capturing audio data.buffer Microsoft.DirectX.DirectSound.SecondaryBuffer
A reference to the SecondaryBuffer object that is used for rendering audio data.
Remarks
Exceptions
The request failed because resources, such as a priority level, were already in use by another caller.
An invalid parameter was passed to the called method.
The method call is invalid for the current state of this object.
The object does not support aggregation.
No sound driver is available for use, or the given GUID is not a valid Microsoft DirectSound device identifier (ID).
DirectSound could not allocate sufficient memory to complete the call.
.gif)