|
@@ -414,14 +414,14 @@ public class MusicHandleSettingFragment extends BaseFragment<FgMusicHandleSettin
|
|
|
return getOffsetValue();
|
|
|
}
|
|
|
|
|
|
- public int getOriginalVolume() {
|
|
|
- int originalVolume = mViewBinding.seekVolume.getProgress();
|
|
|
- return originalVolume;
|
|
|
+ public float getOriginalVolume() {
|
|
|
+ float value = mViewBinding.seekVolume.getProgress() * 1.0f / mViewBinding.seekVolume.getMax();
|
|
|
+ return value;
|
|
|
}
|
|
|
|
|
|
- public int getAccompanyVolume() {
|
|
|
- int accompanyVolume = mViewBinding.seekVolume2.getProgress();
|
|
|
- return accompanyVolume;
|
|
|
+ public float getAccompanyVolume() {
|
|
|
+ float value = mViewBinding.seekVolume2.getProgress() * 1.0f / mViewBinding.seekVolume2.getMax();
|
|
|
+ return value;
|
|
|
}
|
|
|
|
|
|
public String getConfigJson() {
|