From b8a805261bf0282e992d3608035e47d05a898710 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 20 Dec 2011 16:23:08 +0000 Subject: 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 --- services/audioflinger/AudioFlinger.cpp | 8 ++++---- services/audioflinger/AudioMixer.cpp | 10 +++++----- services/audioflinger/AudioResampler.cpp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'services/audioflinger') 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) -- cgit v1.1