audio: reduce the audiohal default log. [1/1]
PD#SWPL-195956
Problem:
reduce the audiohal default log.
Solution:
reduce the audiohal default log.
Verify:
Yocto: :AP222
Change-Id: I9715e01ca16df15b77c81409d757e13a48c48dec
Signed-off-by: xingri.gao <xingri.gao@amlogic.com>
diff --git a/audio_hal/audio_hw_utils.c b/audio_hal/audio_hw_utils.c
index d27e387..07bf7f5 100644
--- a/audio_hal/audio_hw_utils.c
+++ b/audio_hal/audio_hw_utils.c
@@ -1340,7 +1340,7 @@
out->stream_type, streamtype2Str(out->stream_type), out->hal_format, out->hal_ch, out->hal_frame_size, out->hal_rate, DETECT_AUDIO_DATA_UNIT, bytes);
while (out->audio_data_handle_state < AUDIO_DATA_HANDLE_FINISHED && remaining_size) {
- ALOGD("%s remaing_size:%zu, out->audio_data_handle_status:%u", __func__, remaining_size, out->audio_data_handle_state);
+ AM_LOGI_IF(adev->debug_flag, "remaining_size:%zu, out->audio_data_handle_status:%u", remaining_size, out->audio_data_handle_state);
switch (out->audio_data_handle_state) {
case AUDIO_DATA_HANDLE_START:
FALLTHROUGH_INTENDED; /* [[fallthrough]] */