Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/audio/mixin_mixout/mixin_mixout.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,12 @@ static int mixin_prepare(struct processing_module *mod,
int ret;

comp_info(dev, "entry");

if (!num_of_sinks) {
comp_err(dev, "no sink buffer");
return -ENOTCONN;
}

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
md->eos_delay_configured = false;
#endif
Expand Down Expand Up @@ -787,12 +793,17 @@ static int mixout_prepare(struct processing_module *mod,
struct mixout_data *md;
int ret, i;

comp_dbg(dev, "entry");

if (!num_of_sinks) {
comp_err(dev, "no sink buffer");
return -ENOTCONN;
}

ret = mixout_params(mod);
if (ret < 0)
return ret;

comp_dbg(dev, "entry");

/*
* Since mixout sink buffer stream is reset on .prepare(), let's
* reset counters for not yet produced frames in that buffer.
Expand Down
Loading