summaryrefslogtreecommitdiff
path: root/src/multimedia/audio/qaudiosystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/audio/qaudiosystem.cpp')
-rw-r--r--src/multimedia/audio/qaudiosystem.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/multimedia/audio/qaudiosystem.cpp b/src/multimedia/audio/qaudiosystem.cpp
new file mode 100644
index 000000000..ef7552492
--- /dev/null
+++ b/src/multimedia/audio/qaudiosystem.cpp
@@ -0,0 +1,19 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#include "qaudiosystem_p.h"
+
+QT_BEGIN_NAMESPACE
+
+QPlatformAudioSink::QPlatformAudioSink(QObject *parent) : QObject(parent) { }
+
+qreal QPlatformAudioSink::volume() const
+{
+ return 1.0;
+}
+
+QPlatformAudioSource::QPlatformAudioSource(QObject *parent) : QObject(parent) { }
+
+QT_END_NAMESPACE
+
+#include "moc_qaudiosystem_p.cpp"