Skip to content

Commit 38b9400

Browse files
committed
Audio: Volume: Add temporary traces to know test condition
Temporary change to debug dev ops test failure. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 4cf60f1 commit 38b9400

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/audio/volume/volume_ipc4.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ static int volume_set_volume(struct processing_module *mod, const uint8_t *data,
221221
return -EINVAL;
222222
}
223223

224+
comp_info(dev, "volume_set_volume %u %u %u %u",
225+
cdata.channel_id, cdata.target_volume, cdata.curve_type, cdata.curve_duration);
226+
224227
if (cdata.channel_id == IPC4_ALL_CHANNELS_MASK) {
225228
for (i = 0; i < channels_count; i++) {
226229
if (cd->muted[i]) {
@@ -274,6 +277,8 @@ static int volume_set_attenuation(struct processing_module *mod, const uint8_t *
274277
return -EINVAL;
275278
}
276279

280+
comp_info(dev, "volume_set_attenuation %d", attenuation);
281+
277282
audio_stream_fmt_conversion(mod->priv.cfg.base_cfg.audio_fmt.depth,
278283
mod->priv.cfg.base_cfg.audio_fmt.valid_bit_depth,
279284
&frame_fmt, &valid_fmt,
@@ -321,7 +326,7 @@ static int volume_set_switch(struct processing_module *mod, const uint8_t *data,
321326

322327
for (i = 0; i < num_elems; i++) {
323328
val = ctl->chanv[i].value;
324-
comp_dbg(dev, "channel %i, value %u", i, val);
329+
comp_info(dev, "volume_set_switch channel %i, value %u", i, val);
325330

326331
if (val)
327332
volume_set_chan_unmute(mod, i);

0 commit comments

Comments
 (0)