mirror of https://github.com/thesofproject/sof.git
SRC: Comment edit
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
9d9a400c5f
commit
14d10a82b8
|
@ -417,7 +417,9 @@ static int src_params(struct comp_dev *dev)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Need to compute this */
|
/* Calculate period size based on config. First make sure that
|
||||||
|
* frame_bytes is set.
|
||||||
|
*/
|
||||||
dev->frame_bytes =
|
dev->frame_bytes =
|
||||||
dev->params.sample_container_bytes * dev->params.channels;
|
dev->params.sample_container_bytes * dev->params.channels;
|
||||||
cd->period_bytes = dev->frames * dev->frame_bytes;
|
cd->period_bytes = dev->frames * dev->frame_bytes;
|
||||||
|
|
Loading…
Reference in New Issue