@@ -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