audio_core/lle: only process pipe signal after loading

This commit is contained in:
Weiyi Wang 2018-12-06 11:12:47 -05:00
parent 92e5c51adb
commit 483680a124

View file

@ -349,6 +349,9 @@ void DspLle::SetServiceToInterrupt(std::weak_ptr<Service::DSP::DSP_DSP> dsp) {
}); });
auto ProcessPipeEvent = [this, dsp](bool event_from_data) { auto ProcessPipeEvent = [this, dsp](bool event_from_data) {
if (!impl->loaded)
return;
auto& teakra = impl->teakra; auto& teakra = impl->teakra;
if (event_from_data) { if (event_from_data) {
impl->data_signaled = true; impl->data_signaled = true;