Previous Next

IMasterClock

The IMasterClock interface provides DirectMusic streams with access to the current reference time from the master clock. The DMus port driver implements this interface to support accurate timing in the IMXF and IAllocatorMXF interfaces that make up the MIDI-transport part of the filter graph. When calling a DMus miniport driver's IMiniportDMus::NewStream method, the DMus port driver passes an IMasterClock reference as a call parameter. The IMasterClock interface wraps the master clock, as described in Latency Clocks. IMasterClock inherits from the IUnknown interface.

In addition to the methods that IMasterClock inherits from the IUnknown interface, IMasterClock supports the following method:

IMasterClock::GetTime