mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 07:43:35 +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
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue