Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ISynthSinkDMus interface handles wave output for a DirectMusic synthesizer device. The DMus miniport driver provides this interface for use by the wave sink, which calls the methods in the interface to render wave output and to synchronize its sample clock to the master clock. As explained in Synthesizer Miniport Driver Overview, the wave sink is implemented in the DMus port driver. To determine whether a DMus miniport driver supports the ISynthSinkDMus interface, the DMus port driver calls the miniport driver stream object's IMXF::QueryInterface method with REFIID IID_ISynthSinkDMus. ISynthSinkDMus inherits from the IMXF interface.
The ISynthSinkDMus interface provides methods to render, convert sample to reference time, convert reference to sample time, and synchronize to the master clock. For information about the use of the ISynthSinkDMus interface, see A Wave Sink for Kernel-Mode Software Synthesizers.
Inheritance
The ISynthSinkDMus interface inherits from the IMXF interface.
Methods
The ISynthSinkDMus interface has these methods.
| ISynthSinkDMus::RefTimeToSample The RefTimeToSample method converts a reference time into a sample time. |
| ISynthSinkDMus::Render The Render method renders wave data into a destination sink. |
| ISynthSinkDMus::SampleToRefTime The SampleToRefTime method converts a sample time to a reference time. |
| ISynthSinkDMus::SyncToMaster The SyncToMaster method allows synchronization to the master clock in order to avoid drift. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | dmusicks.h |