Merge pull request #33 from OpenVR-Advanced-Settings/AudioDeviceChangedFix

Fixed audio devices swapping on device hw changes
This commit is contained in:
Robin Appelman
2019-01-11 19:00:45 +01:00
committed by GitHub
+3 -3
View File
@@ -160,7 +160,7 @@ MyStackViewPage {
Layout.maximumWidth: 850
Layout.minimumWidth: 850
Layout.preferredWidth: 850
onCurrentIndexChanged: {
onActivated: {
if (componentCompleted) {
AudioTabController.setPlaybackDeviceIndex(currentIndex)
}
@@ -180,7 +180,7 @@ MyStackViewPage {
Layout.maximumWidth: 850
Layout.minimumWidth: 850
Layout.preferredWidth: 850
onCurrentIndexChanged: {
onActivated: {
if (componentCompleted) {
AudioTabController.setMirrorDeviceIndex(currentIndex - 1)
}
@@ -263,7 +263,7 @@ MyStackViewPage {
Layout.maximumWidth: 850
Layout.minimumWidth: 850
Layout.preferredWidth: 850
onCurrentIndexChanged: {
onActivated: {
if (componentCompleted) {
AudioTabController.setMicDeviceIndex(currentIndex)
}