Hi,
Please show a sample for use Stream in AudioRedirector.
thanks
procedure TForm1.btnStartClick(Sender: TObject);
begin
AudioRedirector1.Stream := TFileStream.Create('C:\test.wav', fmCreate);
AudioRedirector1.Active := True;
end;
procedure TForm1.btnStopClick(Sender: TObject);
var
Stream: TStream;
begin
AudioRedirector1.Active := False;
Stream := AudioRedirector1.Stream;
AudioRedirector1.Stream := nil;
Stream.Free;
end;
Users browsing this forum: No registered users and 11 guests