InputSignal
Supported Hardware Devices: Pro Capture cards, USB Capture devices
Contents Demonstrated in the Sample:
- Retrieving detailed format information of input audio and video signals
- Channel selection via command parameters when multiple devices are available
Call Logic:
- Obtain version information, initialize, and enumerate devices: MWGetVersion, MWCaptureInitInstance, MWRefreshDevice, MWGetChannelCount
- Open the device:
- Open the device specified by command parameters: MWOpenChannel
- When no device is specified in command parameters, open the first available channel by default: MWGetDevicePath, MWOpenChannelByPath
- Retrieve channel information: MWGetChannelInfo
- Retrieve input signal status information: MWGetInputSpecificStatus
- Retrieve video signal status information: MWGetVideoSignalStatus
- Retrieve audio signal status information: MWGetAudioSignalStatus
- Release resources: MWCloseChannel, MWCaptureExitInstance
Result:

Flowchart:
