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; } }
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; } }