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
8QT_BEGIN_NAMESPACE
9
10QAudioStateChangeNotifier::QAudioStateChangeNotifier(QObject *parent) : QObject(parent) { }
11
12QPlatformAudioSink::QPlatformAudioSink(QObject *parent) : QAudioStateChangeNotifier(parent) { }
13
14qreal QPlatformAudioSink::volume() const
15{
16 return 1.0;
17}
18
19QPlatformAudioSource::QPlatformAudioSource(QObject *parent) : QAudioStateChangeNotifier(parent) { }
20
21QT_END_NAMESPACE
22
23#include "moc_qaudiosystem_p.cpp"
24

source code of qtmultimedia/src/multimedia/audio/qaudiosystem.cpp