Skip to content
Permalink
Browse files

audio: underp

  • Loading branch information...
Dazzozo committed Jun 22, 2013
1 parent f6f4ad5 commit 7c753f35359d3771cddae4332304fb3445667898
Showing with 1 addition and 2 deletions.
  1. +1 −2 audio/AudioHardware.cpp
@@ -1574,10 +1574,9 @@ status_t AudioHardware::setVoiceVolume(float v)
ALOGW("setVoiceVolume(%f) over 1.0, assuming 1.0\n", v);
v = 1.0;
}
// Added 0.2 to current volume, as in voice call Mute cannot be set as minimum volume(0.00)
// Added 0.2 to current volume, as in voice call Mute cannot be set as minimum volume(0.00)
// setting Rx volume level as 1 for minimum and 6 as max level.
v = 0.2 + v;
}

int vol = lrint(v * 3.0);
ALOGD("setVoiceVolume(%f)\n", v);

0 comments on commit 7c753f3

Please sign in to comment.
You can’t perform that action at this time.