diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-08-22 19:25:35 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-08-24 21:44:23 +0000 |
commit | 941cc13ede5344eac0977b496657b9808814f16c (patch) | |
tree | 714a36dc83b42b2f711dc3dd61f682d23585bff9 | |
parent | a66c1538ee3fc198746e4d0476ffd75d41a105e1 (diff) | |
download | qtmultimedia-941cc13ede5344eac0977b496657b9808814f16c.tar.gz |
Declare QAudioEngine::start/stop as slots
Change-Id: I1139fd51af8fd9b503f7b3910114e2247148c79c
Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
(cherry picked from commit 8947f5f268b166bd9625536698164d7026b65661)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/spatialaudio/qaudioengine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spatialaudio/qaudioengine.h b/src/spatialaudio/qaudioengine.h index da83c9a88..13de2638a 100644 --- a/src/spatialaudio/qaudioengine.h +++ b/src/spatialaudio/qaudioengine.h @@ -44,9 +44,6 @@ public: void setMasterVolume(float volume); float masterVolume() const; - void start(); - void stop(); - void setPaused(bool paused); bool paused() const; @@ -67,6 +64,9 @@ Q_SIGNALS: void distanceScaleChanged(); public Q_SLOTS: + void start(); + void stop(); + void pause() { setPaused(true); } void resume() { setPaused(false); } |