Пример #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;
     }
 }
Пример #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;
     }
 }