mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 02:49:59 +02:00
adding stereo checkbox to audio settings
This commit is contained in:
parent
b90af9e3b5
commit
8cae20f53d
1 changed files with 11 additions and 0 deletions
|
@ -112,6 +112,7 @@ Rectangle {
|
||||||
|
|
||||||
// mute is in its own row
|
// mute is in its own row
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
spacing: (margins.sizeCheckBox - 10.5) * 3;
|
||||||
AudioControls.CheckBox {
|
AudioControls.CheckBox {
|
||||||
id: muteMic
|
id: muteMic
|
||||||
text: qsTr("Mute microphone");
|
text: qsTr("Mute microphone");
|
||||||
|
@ -123,6 +124,16 @@ Rectangle {
|
||||||
checked = Qt.binding(function() { return AudioScriptingInterface.muted; }); // restore binding
|
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 {
|
RowLayout {
|
||||||
|
|
Loading…
Reference in a new issue