mirror of https://github.com/thesofproject/sof.git
Audio: SRC: Allow SRC to not process in copy()
The zero consumed and produced is not an error for SRC it can happen with some low sample rates those have a larger internal block size than source or sink period. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
914c415eed
commit
8024351dae
|
@ -894,13 +894,11 @@ static int src_copy(struct comp_dev *dev)
|
|||
buffer_release(source);
|
||||
|
||||
if (ret) {
|
||||
comp_info(dev, "No data to process.");
|
||||
return PPL_STATUS_PATH_STOP;
|
||||
comp_dbg(dev, "No data to process.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
src_process(dev, source, sink);
|
||||
|
||||
/* produced no data */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue