Support to delegate various MIME types to caller as like voice recording
[platform/core/uifw/inputdelegator.git] / src / w-input-stt-ise.cpp
index 965d36d..da6e71f 100755 (executable)
@@ -21,6 +21,7 @@
 #include "w-input-stt-ise.h"
 #include "w-input-stt-voice.h"
 #include "w-input-stt-engine.h"
+#include "voice-recorder.h"
 
 
 VoiceData *my_voicedata = NULL;
@@ -88,6 +89,8 @@ void  pause_voice(){
                 on_destroy(my_voicedata);
                 my_voicedata = NULL;
         }
+
+       destroy_voice_recorder();
  }
 
  int is_lang_supported_by_voice_input(const char *lang)