Skip to content

Commit

Permalink
audio/msm7x30: Stop the log spam during VOIP calls
Browse files Browse the repository at this point in the history
Change-Id: Idfe211b1fef6f2aeee51ebe7f1b6ce3f4a0787be
  • Loading branch information
arco authored and mikeNG committed Sep 26, 2014
1 parent 9e95e68 commit 6c07646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legacy/msm7x30/AudioHardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ AudioStreamIn* AudioHardware::openInputStream(

AudioStreamIn *in;
if((devices == AudioSystem::DEVICE_IN_COMMUNICATION)&& (*sampleRate == 8000)) {
ALOGE("Create Audio stream Voip \n");
ALOGV("Create Audio stream Voip \n");
AudioStreamInVoip* inVoip = new AudioStreamInVoip();
status_t lStatus = NO_ERROR;
lStatus = inVoip->set(this, devices, format, channels, sampleRate, acoustic_flags);
Expand Down Expand Up @@ -4136,7 +4136,7 @@ ssize_t AudioHardware::AudioStreamInVoip::read( void* buffer, ssize_t bytes)
mState = AUDIO_INPUT_STARTED;
bytes = 0;
}else
ALOGE("AudioStreamInVoip::read : device is already open \n");
ALOGV("AudioStreamInVoip::read : device is already open \n");


if(mFormat == AUDIO_HW_IN_FORMAT)
Expand Down

0 comments on commit 6c07646

Please sign in to comment.