WMEncoder.SynchronizeOperation
The SynchronizeOperation property specifies and retrieves a Boolean indicating whether the start of the encoding process is synchronized with device setup.
Syntax
WMEncoder.SynchronizeOperation = Boolean
Boolean = WMEncoder.SynchronizeOperation
Parameters
This property takes no parameters.
Property Value
A Boolean that indicates whether the encoding process is synchronized.
If this property fails, it returns an error number.
Return code | Number | Description |
NS_E_INVALID_REQUEST | 0x8007000E | The request is invalid in the current state because the encoding process is running. |
Remarks
Use this property when you are using a device as a source. When SynchronizeOperation is True, when you start encoding, calling Start returns only after the devices have been set up and causes a delay, for example the user interface doesn't respond during this time. When SynchronizeOperation is False, calling Start creates a separate thread to cue and set up the device, and returns immediately.
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also