Export (0) Print
Expand All

IMDSPDeviceControl Interface

The IMDSPDeviceControl interface provides methods for controlling devices. After this interface is acquired from a specific instance of the IMDSPDevice interface, the control methods are used for remote control of streaming audio play, record, pause, stop, and seek operations on that device. Implementing this interface is optional. For more information, see Mandatory and Optional Interfaces.

The IMDSPDeviceControl interface methods support several modes of audio control, depending on the context in which they are used. That context is defined by the Seek method. The GetCapabilities method is used to determine what kinds of operations can be performed by the device.

In addition to the methods inherited from IUnknown, the IMDSPDeviceControl interface exposes the following methods.

MethodDescription
GetCapabilitiesRetrieves the device capabilities to determine what operations the device can perform.
GetDCStatusRetrieves the control status of the device.
PausePauses the current playback or record operation and saves the current file position.
PlayBegins playing at the current seek position.
RecordBegins recording from the device's external record input at the current seek position.
ResumeResumes the current playback or record operation from the file position saved during the call to Pause.
SeekSeeks to a position that is used as the starting point by the Play or Record methods.
StopStops the current playback or record operation.

See Also

Show:
© 2014 Microsoft