summaryrefslogtreecommitdiffstats
path: root/audio/AudioHardwareInterface.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-05 23:27:53 +0000
committerSteve Block <steveblock@google.com>2012-01-05 23:27:53 +0000
commit64cca04dcbf4e21a51131224b9d0f0c596f876d4 (patch)
tree1d04f1844e004bf204e6e1d9e351280a047e6279 /audio/AudioHardwareInterface.cpp
parent6f211ce723f18da2bb0881a19d48fc51c32bcbf4 (diff)
downloadhardware_libhardware_legacy-64cca04dcbf4e21a51131224b9d0f0c596f876d4.tar.gz
hardware_libhardware_legacy-64cca04dcbf4e21a51131224b9d0f0c596f876d4.tar.bz2
hardware_libhardware_legacy-64cca04dcbf4e21a51131224b9d0f0c596f876d4.zip
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I86e4ce26d8fba68584d0a7fc17111b53c56d2932
Diffstat (limited to 'audio/AudioHardwareInterface.cpp')
-rw-r--r--audio/AudioHardwareInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/AudioHardwareInterface.cpp b/audio/AudioHardwareInterface.cpp
index 0137435..31f25b6 100644
--- a/audio/AudioHardwareInterface.cpp
+++ b/audio/AudioHardwareInterface.cpp
@@ -110,15 +110,15 @@ String8 AudioHardwareBase::getParameters(const String8& keys)
size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount)
{
if (sampleRate != 8000) {
- LOGW("getInputBufferSize bad sampling rate: %d", sampleRate);
+ ALOGW("getInputBufferSize bad sampling rate: %d", sampleRate);
return 0;
}
if (format != AudioSystem::PCM_16_BIT) {
- LOGW("getInputBufferSize bad format: %d", format);
+ ALOGW("getInputBufferSize bad format: %d", format);
return 0;
}
if (channelCount != 1) {
- LOGW("getInputBufferSize bad channel count: %d", channelCount);
+ ALOGW("getInputBufferSize bad channel count: %d", channelCount);
return 0;
}