4#ifndef QANDROIDMEDIAPLAYERCONTROL_H
5#define QANDROIDMEDIAPLAYERCONTROL_H
19#include <private/qplatformmediaplayer_p.h>
29class QAndroidMediaPlayerVideoRendererControl;
61 void pause()
override;
70 void setVolume(
float volume);
71 void setMuted(
bool muted);
72 void onVideoOutputReady(
bool ready);
75 void onBufferingChanged(
qint32 percent);
88 int mBufferPercent = -1;
89 bool mBufferFilled =
false;
90 bool mAudioAvailable =
false;
91 bool mVideoAvailable =
false;
93 bool mBuffering =
false;
96 int mPendingState = -1;
97 qint64 mPendingPosition = -1;
98 bool mPendingSetMedia =
false;
99 float mPendingVolume = -1;
100 int mPendingMute = -1;
101 bool mReloadingMedia =
false;
102 int mActiveStateChangeNotifiers = 0;
103 qreal mCurrentPlaybackRate = 1.;
104 bool mHasPendingPlaybackRate =
false;
107 bool mIsVideoTrackEnabled =
true;
108 bool mIsAudioTrackEnabled =
true;
111 void setAudioAvailable(
bool available);
112 void setVideoAvailable(
bool available);
113 void updateAvailablePlaybackRanges();
114 void resetBufferingProgress();
115 void flushPendingStates();
116 void updateBufferStatus();
117 void updateTrackInfo();
118 void setSubtitle(
QString subtitle);
121 int convertTrackNumber(
int androidTrackNumber);
\inmodule QtCore \reentrant
QObject * parent() const
Returns a pointer to the parent object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoSink class represents a generic sink for video data.
Combined button and popup list for selecting options.
n void setPosition(void) \n\
GLint GLsizei GLsizei height
QT_BEGIN_NAMESPACE typedef uchar * output