ThbWaveIn.Filename
Unit: hbTapiWave
 

Set Filename to the path of file you want to store the recorded audio data. Normally recording can be started directly after the ThbTapiLine.OnConnected event has been fired.

hbWaveIn1.DeviceName := 'waveform-audio input device #1';
if hbWaveIn1.Available then
begin
  hbWaveIn1.Filename := 'C:\Record.wav';
  hbWaveIn1.Active := True; // start recording
end;

Availability

Design-Time: Read, Write / Run-Time: Read, Write

Declaration

property Filename: String;

Remarks

If the file already exists, it will be overwritten.

See Also

ThbWaveIn.Active