SetAudioSource (DVR version only)
|
![]() ![]() ![]() |
Index [in]
|
Zero-based index of the selected audio source in the system list of audio recording devices. If -1 (default), no audio track will be recorded.
|
S_OK
|
Success
|
E_FAIL
|
Failure to set the audio source
|
|
AudioLst = ActiveGige1.GetAudioList
|
For i = 0 To UBound(AudioLst)
|
Combo1.AddItem (AudioLst(i))
|
Next
|
Combo1.ListIndex = 0
|
ActiveGige1.SetAudioSource 0
|
|
Private Sub Combo1_Click()
|
ActiveGige1.SetAudioSource Combo1.ListIndex
|
End Sub
|
|
Private Sub Capture_Click
|
ActiveGige1.StartCapture "c:\\capture_with_sound.avi"
|
End Sub
|