summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2022-10-24 12:32:04 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-26 07:55:09 +0000
commitfbcce5d41c215566b7df871182945b2c7f7ef0b3 (patch)
tree0fb8b243060eb7f195ead79b86729dc7f4fe8ec1
parenta300d2acd6a97a115a70798d9039bb4417c34005 (diff)
downloadqtmultimedia-fbcce5d41c215566b7df871182945b2c7f7ef0b3.tar.gz
Example: Not working mute for AudioInput in recorder
The change of switch (next to audio Input source) should affect the example. Mute is now connected to the audioSwitch value. Fixes: QTBUG-107885 Change-Id: I7dd3495916f30dd713ebc7e9c8ae3ccbe734fd49 Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit f14b25c9a3c9df370c8af3c88726a19a3cc617ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/multimedia/video/recorder/AudioInputSelect.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/recorder/AudioInputSelect.qml b/examples/multimedia/video/recorder/AudioInputSelect.qml
index eea5b2854..9e2e0ed98 100644
--- a/examples/multimedia/video/recorder/AudioInputSelect.qml
+++ b/examples/multimedia/video/recorder/AudioInputSelect.qml
@@ -13,7 +13,7 @@ Row {
MediaDevices { id: mediaDevices }
- AudioInput { id: audioInput; muted: false }
+ AudioInput { id: audioInput; muted: !audioSwitch.checked }
Switch {
id: audioSwitch;