Merge pull request #1488 from Armored-Dragon/fix/testYourVoice-316

Stop testing your voice when closing the audio window
This commit is contained in:
Julian Groß 2025-04-24 10:34:46 +02:00 committed by GitHub
commit 4cbde7e3f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@
//
// Created by Seth Alves on 2019-2-18
// Copyright 2019 High Fidelity, Inc.
// Copyright 2025 Overte e.V.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
@ -67,4 +68,9 @@ RowLayout {
font.italic: true
text: audioLoopedBack ? qsTr("Speak in your input") : "";
}
Component.onDestruction: {
loopbackTimer.stop();
stopAudioLoopback();
}
}