24 Sep
2017
24 Sep
'17
12:07 a.m.
Emit trace data to show format matching failures for source and sink data types.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/volume.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/audio/volume.c b/src/audio/volume.c index 960a144..be6197e 100644 --- a/src/audio/volume.c +++ b/src/audio/volume.c @@ -616,7 +616,10 @@ static int volume_prepare(struct comp_dev *dev) cd->scale_vol = func_map[i].func; goto found; } - + trace_volume_error("vp3"); + trace_value(cd->source_format); + trace_value(cd->sink_format); + trace_value(dev->params.channels); return -EINVAL;
found:
--
2.11.0