object.NearestSelection As Long |
Remarks
(Read only) This property is updated with the index of the video capture input that was last selected in the video cross bar property page.
If the ltmmCaptureInputs.Selection is updated with –1, despite the fact there is a selected input, then the selected video capture input does not match the selected audio input. In this case, check the value of the ltmmCaptureInputs.NearestSelection property to retrieve the index of the last selected capture input. Set the ltmmCaptureInputs.Selection property to the value in the NearestSelection property to fix the problem. Please note that if an audio – video pair were mismatched intentionally, it may be best to keep the pair mismatched. For more information on unmatched pairs of video and audio inputs, refer to the ltmmCaptureInputs Object.
Win32, x64
See Also
Elements: |
ltmmCaptureInputs.Count property, ltmmCaptureInputs.Selection property |
Topics: |