Merge "Add MA_ACTIVE_STATE_PREPROCESSING active state" into tizen
authorJi-hoon Lee <dalton.lee@samsung.com>
Wed, 18 Sep 2019 05:11:39 +0000 (05:11 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 18 Sep 2019 05:11:39 +0000 (05:11 +0000)
1  2 
include/multi_assistant_common.h

index c14b5262c9a1c8065820f72b090974f2eb06d85e,babeadd64eee62ab377a283a84e21e0569dd2069..7c496a8b358d30a7c9384c1a62ee85bfa0bfdc21
@@@ -137,20 -137,10 +137,21 @@@ typedef enum 
   */
  typedef enum {
        MA_ACTIVE_STATE_INACTIVE = 0,   /**< 'Inactive' state */
-       MA_ACTIVE_STATE_ACTIVE = 1,     /**< 'Active' state */
+       MA_ACTIVE_STATE_ACTIVE, /**< 'Active' state */
+       MA_ACTIVE_STATE_PREPROCESSING,  /**< 'Preprocessing' state */
  } ma_active_state_e;
  
 +/**
 + * @brief Enumerations for allowing preprocessing by other voice assistants.
 + * @since_tizen 5.5
 + */
 +typedef enum {
 +      MA_PREPROCESSING_ALLOW_NONE = 0,        /**< No preprocessing allowed */
 +      MA_PREPROCESSING_ALLOW_UTTERANCE,       /**< Preprocessing allowed for utterance audio only */
 +      MA_PREPROCESSING_ALLOW_FOLLOW_UP,       /**< Preprocessing allowed for follow-up audio only */
 +      MA_PREPROCESSING_ALLOW_ALL,                     /**< Preprocessing allowed for all audio */
 +} ma_preprocessing_allow_mode_e;
 +
  /**
   * @brief Called when the client state is changed.
   * @since_tizen 5.0