mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 19:44:13 +02:00
Move "Test your voice" and "Test your sound" to top of their category
This commit is contained in:
parent
8284dd16cf
commit
ee6de9e868
1 changed files with 24 additions and 24 deletions
|
@ -547,10 +547,21 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioControls.LoopbackAudio {
|
||||||
|
id: loopbackAudio
|
||||||
|
x: margins.paddings
|
||||||
|
anchors.top: inputDeviceHeader.bottom;
|
||||||
|
anchors.topMargin: 10;
|
||||||
|
|
||||||
|
visible: (bar.currentIndex === 1 && isVR) ||
|
||||||
|
(bar.currentIndex === 0 && !isVR);
|
||||||
|
anchors { left: parent.left; leftMargin: margins.paddings }
|
||||||
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: inputView;
|
id: inputView;
|
||||||
width: rightMostInputLevelPos;
|
width: rightMostInputLevelPos;
|
||||||
anchors.top: inputDeviceHeader.bottom;
|
anchors.top: loopbackAudio.bottom;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
x: margins.paddings
|
x: margins.paddings
|
||||||
interactive: false;
|
interactive: false;
|
||||||
|
@ -596,17 +607,6 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioControls.LoopbackAudio {
|
|
||||||
id: loopbackAudio
|
|
||||||
x: margins.paddings
|
|
||||||
anchors.top: inputView.bottom;
|
|
||||||
anchors.topMargin: 10;
|
|
||||||
|
|
||||||
visible: (bar.currentIndex === 1 && isVR) ||
|
|
||||||
(bar.currentIndex === 0 && !isVR);
|
|
||||||
anchors { left: parent.left; leftMargin: margins.paddings }
|
|
||||||
}
|
|
||||||
|
|
||||||
Separator {
|
Separator {
|
||||||
id: thirdSeparator;
|
id: thirdSeparator;
|
||||||
anchors.top: loopbackAudio.visible ? loopbackAudio.bottom : inputView.bottom;
|
anchors.top: loopbackAudio.visible ? loopbackAudio.bottom : inputView.bottom;
|
||||||
|
@ -642,13 +642,20 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioControls.PlaySampleSound {
|
||||||
|
id: playSampleSound
|
||||||
|
x: margins.paddings
|
||||||
|
anchors.top: outputDeviceHeader.bottom;
|
||||||
|
anchors.topMargin: 10;
|
||||||
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: outputView
|
id: outputView
|
||||||
width: parent.width - margins.paddings*2
|
width: parent.width - margins.paddings*2
|
||||||
x: margins.paddings;
|
x: margins.paddings;
|
||||||
interactive: false;
|
interactive: false;
|
||||||
height: contentHeight;
|
height: contentHeight;
|
||||||
anchors.top: outputDeviceHeader.bottom;
|
anchors.top: playSampleSound.bottom;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
clip: true;
|
clip: true;
|
||||||
model: AudioScriptingInterface.devices.output;
|
model: AudioScriptingInterface.devices.output;
|
||||||
|
@ -677,18 +684,11 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioControls.PlaySampleSound {
|
// Spacer item
|
||||||
id: playSampleSound
|
Item {
|
||||||
x: margins.paddings
|
|
||||||
anchors.top: outputView.bottom;
|
anchors.top: outputView.bottom;
|
||||||
anchors.topMargin: 10;
|
anchors.topMargin: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spacer item
|
|
||||||
Item {
|
|
||||||
anchors.top: playSampleSound.bottom;
|
|
||||||
anchors.topMargin: 5;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue