Exemplo n.º 1
0
 public AudioTextContent ConvertAudioToText(AudioFileDetails audioFileObj)
 {
     try
     {
         AudioTextContent audioOutput = new AudioTextContent();
         string           textMessage = "";
         _audioGrab.ConvertAudioToText(audioFileObj.ApplicationStartupPath, audioFileObj.AudioFolderPath, audioFileObj.FrameName, audioFileObj.AudioDuration, ref textMessage);
         audioOutput.AudioText = textMessage;
         return(audioOutput);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemplo n.º 2
0
 public AudioTextContent ConvertAudioToText(AudioFileDetails audioFileObj)
 {
     try
     {
         AudioTextContent audioOutput = new AudioTextContent();
         string textMessage = "";
         _audioGrab.ConvertAudioToText(audioFileObj.ApplicationStartupPath, audioFileObj.AudioFolderPath, audioFileObj.FrameName, audioFileObj.AudioDuration, ref textMessage);
         audioOutput.AudioText = textMessage;
         return audioOutput;
     }
     catch (Exception)
     {
         throw;
     }
 }