SRC: Comment edit

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2017-09-22 16:08:47 +03:00 committed by Liam Girdwood
parent 9d9a400c5f
commit 14d10a82b8
1 changed files with 3 additions and 1 deletions

View File

@ -417,7 +417,9 @@ static int src_params(struct comp_dev *dev)
break;
}
/* Need to compute this */
/* Calculate period size based on config. First make sure that
* frame_bytes is set.
*/
dev->frame_bytes =
dev->params.sample_container_bytes * dev->params.channels;
cd->period_bytes = dev->frames * dev->frame_bytes;