summaryrefslogtreecommitdiff
path: root/android/hal-sco.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-07-18 12:48:07 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-07-18 13:41:22 +0200
commitd081491bb21f304ad59fec23e9a06ec5c2851a80 (patch)
treefba4f7a58481723caea3c65074fec5f76a342277 /android/hal-sco.c
parent4cf3843d43717c496f682ac9ed5fea02c2852cce (diff)
downloadbluez-d081491bb21f304ad59fec23e9a06ec5c2851a80.tar.gz
android/hal-sco: Make debug more readable
Diffstat (limited to 'android/hal-sco.c')
-rw-r--r--android/hal-sco.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/android/hal-sco.c b/android/hal-sco.c
index 09fcf5bf0..e084c3171 100644
--- a/android/hal-sco.c
+++ b/android/hal-sco.c
@@ -656,8 +656,6 @@ static int sco_open_output_stream(struct audio_hw_device *dev,
return -ENOMEM;
}
- DBG("size %zd", out_get_buffer_size(&out->stream.common));
-
/* Channel numbers for resampler */
chan_num = 1;
@@ -669,9 +667,6 @@ static int sco_open_output_stream(struct audio_hw_device *dev,
goto failed;
}
- DBG("Created resampler: input rate [%d] output rate [%d] channels [%d]",
- out->cfg.rate, AUDIO_STREAM_SCO_RATE, chan_num);
-
out->resample_frame_num = get_resample_frame_num(AUDIO_STREAM_SCO_RATE,
out->cfg.rate,
out->cfg.frame_num, 1);
@@ -690,8 +685,9 @@ static int sco_open_output_stream(struct audio_hw_device *dev,
goto failed;
}
- DBG("resampler: frame num %u buf size %zd bytes",
- out->resample_frame_num, resample_size);
+ DBG("Resampler: input %d output %d chan %d frames %u size %zd",
+ out->cfg.rate, AUDIO_STREAM_SCO_RATE, chan_num,
+ out->resample_frame_num, resample_size);
*stream_out = &out->stream;
adev->out = out;