24 Aug
2017
24 Aug
'17
11:15 p.m.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/volume.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/audio/volume.c b/src/audio/volume.c index 925a274..93a3839 100644 --- a/src/audio/volume.c +++ b/src/audio/volume.c @@ -548,10 +548,14 @@ static int volume_prepare(struct comp_dev *dev) /* validate */ if (cd->sink_period_bytes == 0) { trace_volume_error("vp1"); + trace_value(dev->frames); + trace_value(sinkb->sink->frame_bytes); return -EINVAL; } if (cd->source_period_bytes == 0) { trace_volume_error("vp2"); + trace_value(dev->frames); + trace_value(sourceb->source->frame_bytes); return -EINVAL; }
--
2.11.0