adding stereo checkbox to audio settings

This commit is contained in:
Dante Ruiz 2018-03-01 11:03:18 -08:00
parent b90af9e3b5
commit 8cae20f53d

View file

@ -112,6 +112,7 @@ Rectangle {
// mute is in its own row
RowLayout {
spacing: (margins.sizeCheckBox - 10.5) * 3;
AudioControls.CheckBox {
id: muteMic
text: qsTr("Mute microphone");
@ -123,6 +124,16 @@ Rectangle {
checked = Qt.binding(function() { return AudioScriptingInterface.muted; }); // restore binding
}
}
AudioControls.CheckBox {
id: stereoMic
spacing: muteMic.spacing;
text: qsTr("Enable stereo");
checked: false;
onClicked: {
Audio.setIsStereoInput(checked);
}
}
}
RowLayout {