Change-Id: I149436035de048426cd0e11b1e422cb663572508
MWR_LOGD("[DEBUG] No feedback data. Waiting mode : %d", ret);
/* waiting */
- while (1) {
+ while (!(mStopStreamingThread.load())) {
this_thread::sleep_for(chrono::milliseconds(10));
lock.lock();
end = mAudioData.end();
MWR_LOGD("[DEBUG] No feedback data. Waiting mode : %d", ret);
/* waiting */
- while (1) {
+ while (!(mStopStreamingThread.load())) {
this_thread::sleep_for(chrono::milliseconds(10));
if (index < interface->get_utterance_data_count()) {
MWR_LOGI("[INFO] Resume thread");