Skip to content
Snippets Groups Projects
Commit ed6e76aa authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

settings: audio: start level meter on component loaded

Adds a value animation also.

Gitlab: #1124
Change-Id: I4c012188033dcbb58797d5b071a1c154c7231c2b
parent 1bf4d232
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,11 @@ SettingsPageBase {
anchors.left: parent.left
anchors.leftMargin: JamiTheme.preferredSettingsMarginSize
Component.onCompleted: {
rootLayout.populateAudioSettings();
AvAdapter.startAudioMeter();
}
Connections {
target: UtilsAdapter
......@@ -169,8 +174,6 @@ SettingsPageBase {
widthOfComboBox: itemWidth
role: "ID_UTF8"
Component.onCompleted: rootLayout.populateAudioSettings()
onActivated: {
AvAdapter.stopAudioMeter();
var selectedAudioManager = comboModel.data(comboModel.index(modelIndex, 0), AudioManagerListModel.AudioManagerID);
......
......@@ -32,6 +32,12 @@ ProgressBar {
return clamp(rmsLevel * 300.0, 0.0, 100.0);
}
Behavior on value {
NumberAnimation {
duration: 50
}
}
contentItem: Item {
implicitWidth: parent.width
implicitHeight: parent.height
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment