diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-05-07 11:46:03 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-05-07 12:20:02 +0000 |
commit | ab84e0deb641a0976412feeaf03ee4b98c4652b6 (patch) | |
tree | 882009363d106d77a10d2b0535261c103275ef2d /examples/multimedia/audiooutput/audiooutput.h | |
parent | 49c09d1ddaa11aa6339e87abec9a4d5f299eeaf4 (diff) |
Rename QMediaDeviceManager to QMediaDevices
Reflect that also in the plugins, where classes are renamed from
e.g. QXXXDeviceManager to QXXXMediaDevices. This is for consistency
with QPlatformMediaDevices, and because QDarwinDevices would be too
generic.
Change-Id: I78f63f0b8c2aa68aa3f8fb4936e0838281b3222a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/audiooutput/audiooutput.h')
-rw-r--r-- | examples/multimedia/audiooutput/audiooutput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimedia/audiooutput/audiooutput.h b/examples/multimedia/audiooutput/audiooutput.h index becd5ebfd..3f5f7db0c 100644 --- a/examples/multimedia/audiooutput/audiooutput.h +++ b/examples/multimedia/audiooutput/audiooutput.h @@ -64,7 +64,7 @@ #include <QSlider> #include <QTimer> #include <QScopedPointer> -#include <QMediaDeviceManager> +#include <QMediaDevices> class Generator : public QIODevice { @@ -102,7 +102,7 @@ private: void initializeAudio(const QAudioDeviceInfo &deviceInfo); private: - QMediaDeviceManager *m_deviceManager = nullptr; + QMediaDevices *m_devices = nullptr; QTimer *m_pushTimer = nullptr; // Owned by layout |