Windows Media Audio and Video Codec and DSP APIs IWMResamplerProps::SetHalfFilterLength 

banner art

Previous Next

IWMResamplerProps::SetHalfFilterLength

Specifies the quality of the output.

Syntax

  HRESULT SetHalfFilterLength(
  LONG  lhalfFilterLen
);

Parameters

lhalfFilterLen

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

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Client: Requires Windows Vista.

Header: Include wmcodecdsp.h.

Remarks

This method is equivalent to setting the MFPKEY_WMRESAMP_FILTERQUALITY property.

See Also

Previous Next