mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +02:00
Stop audio loopback on component destruction.
This commit is contained in:
parent
3aed07517a
commit
4631ad0a24
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
//
|
//
|
||||||
// Created by Seth Alves on 2019-2-18
|
// Created by Seth Alves on 2019-2-18
|
||||||
// Copyright 2019 High Fidelity, Inc.
|
// Copyright 2019 High Fidelity, Inc.
|
||||||
|
// Copyright 2025 Overte e.V.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
@ -67,4 +68,9 @@ RowLayout {
|
||||||
font.italic: true
|
font.italic: true
|
||||||
text: audioLoopedBack ? qsTr("Speak in your input") : "";
|
text: audioLoopedBack ? qsTr("Speak in your input") : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component.onDestruction: {
|
||||||
|
loopbackTimer.stop();
|
||||||
|
stopAudioLoopback();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue