Merge pull request #11743 from kencooke/audio-peakmeters-bugfix

Fix the audio input device peak meters
This commit is contained in:
Brad Hefta-Gaub 2017-11-04 13:55:08 -07:00 committed by GitHub
commit c1dfa24c12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -213,8 +213,8 @@ Rectangle {
anchors.right: parent.right
peak: model.peak;
anchors.verticalCenter: parent.verticalCenter
visible: (bar.currentIndex === 1 && selectedHMD && isVR) ||
(bar.currentIndex === 0 && selectedDesktop && !isVR) &&
visible: ((bar.currentIndex === 1 && isVR) ||
(bar.currentIndex === 0 && !isVR)) &&
Audio.devices.input.peakValuesAvailable;
}
}