summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:23:08 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:38:27 +0000
commitb8a805261bf0282e992d3608035e47d05a898710 (patch)
tree7a43908b8e936ac1f30eef0542b40d667c47aa23 /services/audioflinger
parent94023fa6744e24f26f0aba1699ec278649bd66df (diff)
downloadframeworks_av-b8a805261bf0282e992d3608035e47d05a898710.zip
frameworks_av-b8a805261bf0282e992d3608035e47d05a898710.tar.gz
frameworks_av-b8a805261bf0282e992d3608035e47d05a898710.tar.bz2
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
Diffstat (limited to 'services/audioflinger')
-rw-r--r--services/audioflinger/AudioFlinger.cpp8
-rw-r--r--services/audioflinger/AudioMixer.cpp10
-rw-r--r--services/audioflinger/AudioResampler.cpp2
3 files changed, 10 insertions, 10 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index 2090f1b..275de77 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -1956,7 +1956,7 @@ bool AudioFlinger::MixerThread::threadLoop()
char value[PROPERTY_VALUE_MAX];
property_get("ro.audio.silent", value, "0");
if (atoi(value)) {
- LOGD("Silence is golden");
+ ALOGD("Silence is golden");
setMasterMute(true);
}
}
@@ -2617,7 +2617,7 @@ bool AudioFlinger::DirectOutputThread::threadLoop()
char value[PROPERTY_VALUE_MAX];
property_get("ro.audio.silent", value, "0");
if (atoi(value)) {
- LOGD("Silence is golden");
+ ALOGD("Silence is golden");
setMasterMute(true);
}
}
@@ -3011,7 +3011,7 @@ bool AudioFlinger::DuplicatingThread::threadLoop()
char value[PROPERTY_VALUE_MAX];
property_get("ro.audio.silent", value, "0");
if (atoi(value)) {
- LOGD("Silence is golden");
+ ALOGD("Silence is golden");
setMasterMute(true);
}
}
@@ -3192,7 +3192,7 @@ AudioFlinger::ThreadBase::TrackBase::TrackBase(
{
ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), sharedBuffer->size());
- // LOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize);
+ // ALOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize);
size_t size = sizeof(audio_track_cblk_t);
uint8_t channelCount = popcount(channelMask);
size_t bufferSize = frameCount*channelCount*sizeof(int16_t);
diff --git a/services/audioflinger/AudioMixer.cpp b/services/audioflinger/AudioMixer.cpp
index 89f7b65..dc1d1a7 100644
--- a/services/audioflinger/AudioMixer.cpp
+++ b/services/audioflinger/AudioMixer.cpp
@@ -521,7 +521,7 @@ void AudioMixer::volumeRampStereo(track_t* t, int32_t* out, size_t frameCount, i
const int32_t vlInc = t->volumeInc[0];
const int32_t vrInc = t->volumeInc[1];
- //LOGD("[0] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
+ //ALOGD("[0] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
// t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
// (vl + vlInc*frameCount)/65536.0f, frameCount);
@@ -599,7 +599,7 @@ void AudioMixer::track__16BitsStereo(track_t* t, int32_t* out, size_t frameCount
const int32_t vlInc = t->volumeInc[0];
const int32_t vrInc = t->volumeInc[1];
const int32_t vaInc = t->auxInc;
- // LOGD("[1] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
+ // ALOGD("[1] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
// t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
// (vl + vlInc*frameCount)/65536.0f, frameCount);
@@ -643,7 +643,7 @@ void AudioMixer::track__16BitsStereo(track_t* t, int32_t* out, size_t frameCount
const int32_t vlInc = t->volumeInc[0];
const int32_t vrInc = t->volumeInc[1];
- // LOGD("[1] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
+ // ALOGD("[1] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
// t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
// (vl + vlInc*frameCount)/65536.0f, frameCount);
@@ -688,7 +688,7 @@ void AudioMixer::track__16BitsMono(track_t* t, int32_t* out, size_t frameCount,
const int32_t vrInc = t->volumeInc[1];
const int32_t vaInc = t->auxInc;
- // LOGD("[2] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
+ // ALOGD("[2] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
// t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
// (vl + vlInc*frameCount)/65536.0f, frameCount);
@@ -729,7 +729,7 @@ void AudioMixer::track__16BitsMono(track_t* t, int32_t* out, size_t frameCount,
const int32_t vlInc = t->volumeInc[0];
const int32_t vrInc = t->volumeInc[1];
- // LOGD("[2] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
+ // ALOGD("[2] %p: inc=%f, v0=%f, v1=%d, final=%f, count=%d",
// t, vlInc/65536.0f, vl/65536.0f, t->volume[0],
// (vl + vlInc*frameCount)/65536.0f, frameCount);
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index e945ce0..7205045 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -87,7 +87,7 @@ AudioResampler* AudioResampler::create(int bitDepth, int inChannelCount,
char value[PROPERTY_VALUE_MAX];
if (property_get("af.resampler.quality", value, 0)) {
quality = atoi(value);
- LOGD("forcing AudioResampler quality to %d", quality);
+ ALOGD("forcing AudioResampler quality to %d", quality);
}
if (quality == DEFAULT)