次の方法で共有


IATSCComponentType::put_Flags

 
Microsoft DirectShow 9.0

IATSCComponentType::put_Flags

The put_Flags method specifies whether an audio component is in AC-3 format.

Syntax

  HRESULT put_Flags(
  long  Flags
);

Parameters

Flags

[in]  Specifies one of the following values:

Value Description
Zero The component does not contain AC-3 audio
ATSCCT_AC3 The component contains AC-3 audio

See ATSCComponentTypeFlags Enumeration.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also