Microsoft DirectX 9.0 |
The IDMOQualityControl interface supports
A DMO exposes this interface if it can respond to late samples. When quality control is enabled, the DMO attempts to process samples on time, discarding late samples if necessary. When quality control is disabled, the DMO processes every sample. By default, quality control is disabled.
Applications use this interface to enable or disable quality control. Using quality control is appropriate when you are viewing media data in real time. If you are capturing data to a file, do not enable quality control, because the DMO might discard samples. It does not matter in file capture whether samples arrive late, and you do not want to lose the data.
To use quality control, perform the following steps:
To disable quality control, call SetStatus with no flag.
In addition to the methods inherited from IUnknown, the IDMOQualityControl interface exposes the following methods.
Method | Description |
GetStatus | Determines whether quality control is active. |
SetNow | Specifies the earliest time stamp for which the DMO should deliver data. |
SetStatus | Enables or disables quality control. |
Requirements
Declared in Mediaobj.h; include Dmo.h.
Link to Dmoguids.lib.