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/devices/main.cpp | |
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/devices/main.cpp')
-rw-r--r-- | examples/multimedia/devices/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/multimedia/devices/main.cpp b/examples/multimedia/devices/main.cpp index 250d8c9a8..cfdd28116 100644 --- a/examples/multimedia/devices/main.cpp +++ b/examples/multimedia/devices/main.cpp @@ -54,7 +54,7 @@ #include <QAudioDeviceInfo> #include <QCameraInfo> -#include <qmediadevicemanager.h> +#include <qmediadevices.h> #include <stdio.h> @@ -161,9 +161,9 @@ int main() { QTextStream out(stdout); - const auto audioInputDevices = QMediaDeviceManager::audioInputs(); - const auto audioOutputDevices = QMediaDeviceManager::audioOutputs(); - const auto videoInputDevices = QMediaDeviceManager::videoInputs(); + const auto audioInputDevices = QMediaDevices::audioInputs(); + const auto audioOutputDevices = QMediaDevices::audioOutputs(); + const auto videoInputDevices = QMediaDevices::videoInputs(); out << "Audio devices detected: " << Qt::endl; out << Qt::endl << "Input" << Qt::endl; |