16#include "QtCore/private/qfactoryloader_p.h"
24 qCritical(
"QtMultimedia is not currently supported on this platform or compiler.");
42 const auto keyMap = fl->keyMap();
48 qCDebug(qLcMediaPlugin) <<
"Available backends" <<
list;
54#ifdef QT_DEFAULT_MEDIA_BACKEND
56 if (backends.contains(backend))
60#if defined(Q_OS_DARWIN) || defined(Q_OS_LINUX) || defined(Q_OS_WINDOWS) || defined(Q_OS_ANDROID)
63 if (backends.contains(FFmpegBackend))
67 if (backends.size() > 1 && backends[0] == FFmpegBackend)
80 std::unique_ptr<QPlatformMediaIntegration>
instance;
97 if (backend.
isEmpty() && !backends.isEmpty())
100 qCDebug(qLcMediaPlugin) <<
"loading backend" << backend;
102 qLoadPlugin<QPlatformMediaIntegration, QPlatformMediaPlugin>(
loader(), backend));
105 qWarning() <<
"could not load multimedia backend" << backend;
115void QPlatformMediaIntegration::setPlatformFactory(Factory
factory)
\qmltype AudioOutput \instantiates QAudioOutput
QPlatformMediaFormatInfo * formatInfo() override
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QSet< QString >::iterator it
Combined button and popup list for selecting options.
#define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS)
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
GLdouble GLdouble GLdouble GLdouble q
#define QStringLiteral(str)
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
static const struct @437 keyMap[]
QItemEditorFactory * factory
bool contains(const AT &t) const noexcept