Methods (5)
Namespace: CSCore.DMO

Syntax

public class WMResamplerProps : ComObject

Base Type

Summary

Sets properties on the audio resampler DSP.

Uses

Used by

Methods

WMResamplerProps(IntPtr ptr)

Initializes a new instance of the WMResamplerProps class.

public void WMResamplerProps(IntPtr ptr)

Parameters

ptr

IntPtr

The native pointer of the COM object.

SetHalfFilterLength(Int32 quality)

Specifies the quality of the output.

public void SetHalfFilterLength(Int32 quality)

Parameters

quality

Int32

Specifies the quality of the output. The valid range is 1 to 60, inclusive.

SetHalfFilterLengthNative(Int32 quality)

Specifies the quality of the output.

public Int32 SetHalfFilterLengthNative(Int32 quality)

Parameters

quality

Int32

Specifies the quality of the output. The valid range is 1 to 60, inclusive.

Returns

HRESULT

public void SetUserChannelMtx(Single[] channelConversitionMatrix)

Parameters

channelConversitionMatrix

Single[]

An array of floating-point values that represents a channel conversion matrix.

Remarks

Use the ChannelMatrix class to build the channel-conversation-matrix and its GetOneDimensionalMatrix method to convert the channel-conversation-matrix into a compatible array which can be passed as value for the channelConversitionMatrix parameter. For more information, .

public Int32 SetUserChannelMtxNative(Single[] channelConversitionMatrix)

Parameters

channelConversitionMatrix

Single[]

An array of floating-point values that represents a channel conversion matrix.

Returns

HRESULT

Remarks

Use the ChannelMatrix class to build the channel-conversation-matrix and its GetOneDimensionalMatrix method to convert the channel-conversation-matrix into a compatible array which can be passed as value for the channelConversitionMatrix parameter. For more information, .