22 Sep
2017
22 Sep
'17
3:08 p.m.
Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com --- src/audio/src.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/audio/src.c b/src/audio/src.c index 203e802..86f56de 100644 --- a/src/audio/src.c +++ b/src/audio/src.c @@ -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;
--
2.11.0