Loading android/app/src/com/android/bluetooth/a2dp/Avrcp.java +1 −1 Original line number Diff line number Diff line Loading @@ -813,7 +813,7 @@ final class Avrcp { private int convertToAudioStreamVolume(int volume) { // Rescale volume to match AudioSystem's volume return (int) Math.ceil((double) volume*mAudioStreamMax/AVRCP_MAX_VOL); return (int) Math.round((double) volume*mAudioStreamMax/AVRCP_MAX_VOL); } private int convertToAvrcpVolume(int volume) { Loading Loading
android/app/src/com/android/bluetooth/a2dp/Avrcp.java +1 −1 Original line number Diff line number Diff line Loading @@ -813,7 +813,7 @@ final class Avrcp { private int convertToAudioStreamVolume(int volume) { // Rescale volume to match AudioSystem's volume return (int) Math.ceil((double) volume*mAudioStreamMax/AVRCP_MAX_VOL); return (int) Math.round((double) volume*mAudioStreamMax/AVRCP_MAX_VOL); } private int convertToAvrcpVolume(int volume) { Loading