16 Nov
2017
16 Nov
'17
4:36 p.m.
On Thu, 2017-11-16 at 23:04 +0800, Keyon Jie wrote:
The copy sizes for src and sink may be different, here add fix to handle it.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
src/audio/volume.c | 38 +++++++++++++++++++++++++++++--------- src/include/reef/audio/buffer.h | 19 +++++++++++++++++++ 2 files changed, 48 insertions(+), 9 deletions(-)
diff --git a/src/audio/volume.c b/src/audio/volume.c index 415a853..9cf766b 100644 --- a/src/audio/volume.c +++ b/src/audio/volume.c @@ -535,13 +535,27 @@ static int volume_cmd(struct comp_dev *dev, int cmd, void *data) } }
I will merge parts of this into the xrun branch since we both have patches that do a similar thing and impact volume copy.
Thanks
Liam