IMediaParams interface

The IMediaParams interface sets and retrieves envelope-following parameters on an object.

To reduce overhead, parameters are referenced by index value, and all parameter values are 32 bits, defined as type MP_DATA. Use the IMediaParamInfo interface to determine whether a given parameter is an integer, floating-point value, Boolean value, or member of an enumerated type.

Members

The IMediaParams interface inherits from the IUnknown interface. IMediaParams also has these types of members:

Methods

The IMediaParams interface has these methods.

MethodDescription
AddEnvelope

Adds an envelope to a parameter.

FlushEnvelope

Flushes envelope data for a specified parameter over the specified time range.

GetParam

Retrieves the most recent value of the specified parameter.

SetParam

Sets the value of a parameter.

SetTimeFormat

Specifies the time format for the object.

 

Requirements

Header

Medparam.h

Library

Dmoguids.lib

 

 

Show: