1 | // Copyright (C) 2022 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qaudiosystem_p.h" |
5 | |
6 | #include <private/qplatformmediadevices_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | QAudioStateChangeNotifier::QAudioStateChangeNotifier(QObject *parent) : QObject(parent) { } |
11 | |
12 | QPlatformAudioSink::QPlatformAudioSink(QObject *parent) : QAudioStateChangeNotifier(parent) { } |
13 | |
14 | qreal QPlatformAudioSink::volume() const |
15 | { |
16 | return 1.0; |
17 | } |
18 | |
19 | QPlatformAudioSource::QPlatformAudioSource(QObject *parent) : QAudioStateChangeNotifier(parent) { } |
20 | |
21 | QT_END_NAMESPACE |
22 | |
23 | #include "moc_qaudiosystem_p.cpp" |
24 |