Evas_Object *canvas = elm_object_part_content_get(voicedata->layout_main, "EFFECT_BG");
is::ui::WInputSttMicEffect *ieffect = new is::ui::WInputSttMicEffect();
- if (ieffect)
+ if (ieffect && voicedata->sttmanager) {
ieffect->SetSttHandle(voicedata->sttmanager->GetSttHandle());
+ }
is::ui::MicEffector *effector = new is::ui::MicEffector(canvas, voicedata->layout_main, *ieffect);
voicedata->ieffect = ieffect;
voicedata->effector = effector;
- if (ieffect) {
+ if (ieffect && voicedata->progressbar) {
ieffect->SetProgressBar(voicedata->progressbar);
- ieffect->SetSttHandle(voicedata->sttmanager->GetSttHandle());
}
elm_access_highlight_set(voicedata->mic_button);