Delphi Developer Getting Started
Audio Capture ActiveX Control |
Delphi Developer Getting Start |
Assuming that you have already run the Audio Capture ActiveX Control installation program and started Delphi, the next step is to install Audio Capture ActiveX in Delphi. Select Component/Import ActiveX Control/Audio Capture ActiveX Control
Select Control
Click on the Audio Capture ActiveX Control icon and draw it on the form. A rectangle should appear on the form.
Add Button in Form, add this line of code, which will capture the audio file..
procedure TForm1.Button1Click(Sender: TObject);
begin
AudioCapture1.AudioDevice :=0;
AudioCapture1.AudioFileName :='c:\test.wav'
AudioCapture1.AudioInputPin := 0
AudioCapture1.OutputType:=0
AudioCapture1.Start
end;
end.