Jump to content

OldyCoder

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by OldyCoder


  1. I'm using following code snippet to record audio on IOS 13.5.1 and getting access violation exception.

    My Delphi version is 10.3 Update 3.

    It works fine on Android.

     

      Mic := TCaptureDeviceManager.Current.DefaultAudioCaptureDevice;
    
      if (Mic <> nil) then   begin
        Mic.FileName := 'record.mp3';
        try
          Mic.StartCapture;
        except
          on E: Exception do
            lblError.Text:=E.message;
        end;
      end;

    Is there any workaround?

     

×