Skip to content

Commit

Permalink
audio: underp
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Jones committed Jun 22, 2013
1 parent f6f4ad5 commit 7c753f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions audio/AudioHardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7c753f3

Please sign in to comment.