Our audio record object can support recording with multiple sound cards. You can do like this:
1. Create multiple audio record objects at initialization time like this. (Take VB.Net as example)
Public Class Form1
Inherits System.Windows.Forms.Form
Private rec As AudioCtl.CAudioRecord
Private rec1 As AudioCtl.CAudioRecord
#Region ” Windows Form Designer generated code ”
Public Sub New()
MyBase.New()‘This call is required by the Windows Form Designer.
InitializeComponent()
‘Add any initialization after the InitializeComponent() call
rec = New AudioCtl.CAudioRecord
rec1 = New AudioCtl.CAudioRecord
rec.SetSilenceLevel(1000)
End Sub
2. Then the record objects can be used independently by setting the device index to different sound cards. You can record different source line for different sound cards and save the audio in different output files.