merge with master
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:17:17 +0000 (01:17 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:17:17 +0000 (01:17 +0900)
inc/FUixSpeechITextToSpeechEventListener.h
inc/FUixSpeechSpeechToTextTypes.h
inc/FUixSpeechTextToSpeech.h
packaging/osp-speech.spec
src/tts/FUixSpeech_TextToSpeechImpl.cpp

index d3233be..e37b15a 100644 (file)
@@ -73,7 +73,6 @@ public:
      * @since 2.0
      *
      * @param[in]   status  The status of the Text-To-Speech service
-     * @see         TextToSpeechStatus
      */
     virtual void OnTextToSpeechStatusChanged(Tizen::Uix::Speech::TextToSpeechStatus status) = 0;
 
@@ -83,7 +82,6 @@ public:
      * @since 2.0
      *
      * @param[in]   error   The reason for an error in the Text-To-Speech service
-     * @see         TextToSpeechError
      */
      virtual void OnTextToSpeechErrorOccurred(Tizen::Uix::Speech::TextToSpeechError error) = 0;
 
index 6e88fea..885d7c8 100644 (file)
@@ -52,7 +52,7 @@ enum SpeechToTextStatus
 *
 * @since 2.0
 *
-* @see SetGrammar()
+* @see SpeechToText::SetGrammar()
 */
 enum SpeechToTextGrammar
 {
index 5871d69..7dbcd90 100644 (file)
@@ -316,7 +316,6 @@ public:
      * @param[in]   rate    A speech rate
      * @exception   E_SUCCESS           The method is successful.
      * @exception   E_INVALID_STATE     This instance is not initialized as yet.
-     * @see         TextToSpeechSpeechRate
      */
     result SetSpeechRate(TextToSpeechSpeechRate rate);
 
index b1ff5c4..ba01da2 100755 (executable)
@@ -3,7 +3,7 @@
 
 Name:          osp-speech
 Summary:       osp speech library
-Version:       1.2.0.0
+Version:       1.2.1.0
 Release:       2
 Group:         System/Libraries
 License:       TO_BE/FILLED_IN
index 5313326..c87acde 100644 (file)
@@ -350,6 +350,11 @@ _TextToSpeechImpl::Speak(const String& text, TextToSpeechRequestMode requestMode
         ttsError = tts_play(__ttsHandle);
         SysTryCatch(NID_UIX_SPEECH, ttsError == TTS_ERROR_NONE, r = E_SYSTEM, E_SYSTEM, "[%s] Failed to play.", GetEngineErrorMessage(ttsError));
     }
+    else  if (requestMode == TEXT_TO_SPEECH_REQUEST_MODE_APPEND &&  ttsState != TTS_STATE_PLAYING)
+       {
+        ttsError = tts_play(__ttsHandle);
+        SysTryCatch(NID_UIX_SPEECH, ttsError == TTS_ERROR_NONE, r = E_SYSTEM, E_SYSTEM, "[%s] Failed to play.", GetEngineErrorMessage(ttsError));
+    }
 
     __appendRequsetCount++;
     __currentRequestMode = requestMode;