Fixed negative gain not allowed in audio settings
This commit is contained in:
parent
0f3dba4d38
commit
646ed09f2b
2 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,9 @@ Group changes to describe their impact on the project, as follows:
|
||||||
|
|
||||||
## [4.7.0] - Unreleased
|
## [4.7.0] - Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Negative gain in audio settings is allowed again
|
||||||
|
|
||||||
## [4.6.1] - 2022-02-14
|
## [4.6.1] - 2022-02-14
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
linphone:subtitle="@{@string/audio_settings_microphone_gain_summary}"
|
linphone:subtitle="@{@string/audio_settings_microphone_gain_summary}"
|
||||||
linphone:listener="@{viewModel.microphoneGainListener}"
|
linphone:listener="@{viewModel.microphoneGainListener}"
|
||||||
linphone:defaultValue="@{viewModel.microphoneGain.toString()}"
|
linphone:defaultValue="@{viewModel.microphoneGain.toString()}"
|
||||||
linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/>
|
linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/>
|
||||||
|
|
||||||
<include
|
<include
|
||||||
layout="@layout/settings_widget_text"
|
layout="@layout/settings_widget_text"
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
linphone:subtitle="@{@string/audio_settings_playback_gain_summary}"
|
linphone:subtitle="@{@string/audio_settings_playback_gain_summary}"
|
||||||
linphone:listener="@{viewModel.playbackGainListener}"
|
linphone:listener="@{viewModel.playbackGainListener}"
|
||||||
linphone:defaultValue="@{viewModel.playbackGain.toString()}"
|
linphone:defaultValue="@{viewModel.playbackGain.toString()}"
|
||||||
linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/>
|
linphone:inputType="@{InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL}"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/settings_category_font"
|
style="@style/settings_category_font"
|
||||||
|
|
Loading…
Reference in a new issue