|Microsoft DirectShow 9.0|
Media parameters enable an application to configure an object's properties so that they change over time in a mathematically deterministic way.
For example, suppose that a sound engineer is mixing a digital master tape and wants to apply a slight delay to a vocal section, to fill out the sound. The effect will be jarring if the delay cuts in abruptly. Instead, the effect should begin 100% dry (no delay), and the wet/dry mix should increase gradually until it reaches the desired level. Moreover, this transition should follow a smooth curve or linear progression. To support this scenario, a DMO can expose the following interfaces:
- IMediaParamInfo contains methods for discovering information about the supported properties. Typically, the client will call these methods before it begins to stream data.
- IMediaParams contain methods for setting the curves that a parameter will follow during streaming.
These interfaces are designed primarily for DMOs, but any object can support them. Within this section, the term parameter refers to any property that supports these two interfaces.
This section contains the following topics: