* limitations under the License.
*/
-#include <assert.h>
#include <vconf.h>
#include <vconf-keys.h>
#include <sound_manager.h>
EnableFeedback();
}
catch(SttException &e) {
- LOGD("reason : %s", e.what());
- assert(0);
+ LOGW("reason : %s", e.what());
}
}
UnPrepare();
}
catch(SttException &e) {
- LOGD("reason : %s", e.what());
+ LOGW("reason : %s", e.what());
stt_destroy(handle);
}
stt_h handle,
stt_error_e reason,
void *user_data) {
- LOGD("stt-daemon error (%d)", reason);
+ LOGW("stt-daemon error (%d)", reason);
if (!user_data)
throw SttException((int)STT_ERROR_INVALID_PARAMETER, "invalid self reference");
int ret = stt_set_silence_detection(handle, s_option);
if (STT_ERROR_NONE != ret) {
- LOGD("error(%d) = %s", ret, ErrorString((stt_error_e) ret));
+ LOGW("error(%d) = %s", ret, ErrorString((stt_error_e) ret));
} else {
LOGD("stt_set_silence_detection Successful");
}