4#ifndef QPLAYBACKOPTIONS_H
5#define QPLAYBACKOPTIONS_H
7#include <QtMultimedia/qtmultimediaexports.h>
8#include <QtMultimedia/qtmultimediaglobal.h>
9#include <QtCore/qcompare.h>
10#include <QtCore/qobject.h>
11#include <QtCore/qshareddata.h>
17class QPlaybackOptionsPrivate;
18QT_DECLARE_QESDP_SPECIALIZATION_DTOR(QPlaybackOptionsPrivate)
22 Q_GADGET_EXPORT(Q_MULTIMEDIA_EXPORT)
34 Q_ENUM(PlaybackIntent)
45 Q_MULTIMEDIA_EXPORT std::chrono::milliseconds
networkTimeout()
const;
53 Q_MULTIMEDIA_EXPORT qsizetype
probeSize()
const;
54 Q_MULTIMEDIA_EXPORT
void setProbeSize(qsizetype probeSizeBytes);
65 QExplicitlySharedDataPointer<QPlaybackOptionsPrivate> d;
68Q_DECLARE_SHARED(QPlaybackOptions)
The QPlaybackOptions class enables low-level control of media playback options.
Q_MULTIMEDIA_EXPORT void resetPlaybackIntent()
Q_MULTIMEDIA_EXPORT void setProbeSize(qsizetype probeSizeBytes)
Q_MULTIMEDIA_EXPORT void resetNetworkTimeout()
Q_MULTIMEDIA_EXPORT void setNetworkTimeout(std::chrono::milliseconds timeout)
void swap(QPlaybackOptions &other) noexcept
Q_MULTIMEDIA_EXPORT void resetProbeSize()
QPlaybackOptions(QPlaybackOptions &&) noexcept=default
Q_MULTIMEDIA_EXPORT void setPlaybackIntent(PlaybackIntent intent)
bool comparesEqual(const QPlaybackOptions &lhs, const QPlaybackOptions &rhs) noexcept