summaryrefslogtreecommitdiffstats
path: root/audio_a2dp_hw
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-09-25 10:31:34 +0530
committerMatthew Xie <mattx@google.com>2012-09-25 11:20:13 -0700
commitbf7972c55f5e30ec29f85a1cd871b734106cf062 (patch)
tree1bde3f9743e6a3d629f654863c2ace803c7959ed /audio_a2dp_hw
parentcdd49a6cfd2fedf775dd06e511c050e95508f5b8 (diff)
downloadexternal_bluetooth_bluedroid-bf7972c55f5e30ec29f85a1cd871b734106cf062.zip
external_bluetooth_bluedroid-bf7972c55f5e30ec29f85a1cd871b734106cf062.tar.gz
external_bluetooth_bluedroid-bf7972c55f5e30ec29f85a1cd871b734106cf062.tar.bz2
Reduced logging before/after music play/pause
A burst of log messages are sent right music is paused. Moved these as verbose logs. bug 7222516 Change-Id: I08a0583eb1b96734e3fdbd0c97cd3a93d9a0304f
Diffstat (limited to 'audio_a2dp_hw')
-rw-r--r--audio_a2dp_hw/audio_a2dp_hw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio_a2dp_hw/audio_a2dp_hw.c b/audio_a2dp_hw/audio_a2dp_hw.c
index 9f4b238..42e416e 100644
--- a/audio_a2dp_hw/audio_a2dp_hw.c
+++ b/audio_a2dp_hw/audio_a2dp_hw.c
@@ -494,7 +494,7 @@ static uint32_t out_get_sample_rate(const struct audio_stream *stream)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- INFO("rate %d", out->cfg.rate);
+ DEBUG("rate %d", out->cfg.rate);
return out->cfg.rate;
}
@@ -503,7 +503,7 @@ static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- INFO("out_set_sample_rate : %d", rate);
+ DEBUG("out_set_sample_rate : %d", rate);
if (rate != AUDIO_STREAM_DEFAULT_RATE)
{
@@ -520,7 +520,7 @@ static size_t out_get_buffer_size(const struct audio_stream *stream)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- INFO("buffer_size : %d", out->buffer_sz);
+ DEBUG("buffer_size : %d", out->buffer_sz);
return out->buffer_sz;
}
@@ -529,7 +529,7 @@ static uint32_t out_get_channels(const struct audio_stream *stream)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- INFO("channels 0x%x", out->cfg.channel_flags);
+ DEBUG("channels 0x%x", out->cfg.channel_flags);
return out->cfg.channel_flags;
}
@@ -537,14 +537,14 @@ static uint32_t out_get_channels(const struct audio_stream *stream)
static audio_format_t out_get_format(const struct audio_stream *stream)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- INFO("format 0x%x", out->cfg.format);
+ DEBUG("format 0x%x", out->cfg.format);
return out->cfg.format;
}
static int out_set_format(struct audio_stream *stream, audio_format_t format)
{
struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream;
- ALOGW("setting format not yet supported (0x%x)", format);
+ DEBUG("setting format not yet supported (0x%x)", format);
return -ENOSYS;
}