![]() |
Qt 6.x
The Qt SDK
|
#include "androidmediaplayer_p.h"
#include "androidsurfacetexture_p.h"
#include <QList>
#include <QReadWriteLock>
#include <QString>
#include <QtCore/qcoreapplication.h>
#include <qloggingcategory.h>
#include "moc_androidmediaplayer_p.cpp"
Go to the source code of this file.
Typedefs | |
typedef QList< AndroidMediaPlayer * > | MediaPlayerList |
Functions | |
static QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (lcAudio, "qt.multimedia.audio") AndroidMediaPlayer |
AndroidMediaPlayer::TrackInfo | convertTrackInfo (int streamNumber, QJniObject androidTrackInfo) |
static void | onErrorNative (JNIEnv *env, jobject thiz, jint what, jint extra, jlong id) |
static void | onBufferingUpdateNative (JNIEnv *env, jobject thiz, jint percent, jlong id) |
static void | onProgressUpdateNative (JNIEnv *env, jobject thiz, jint progress, jlong id) |
static void | onDurationChangedNative (JNIEnv *env, jobject thiz, jint duration, jlong id) |
static void | onInfoNative (JNIEnv *env, jobject thiz, jint what, jint extra, jlong id) |
static void | onStateChangedNative (JNIEnv *env, jobject thiz, jint state, jlong id) |
static void | onVideoSizeChangedNative (JNIEnv *env, jobject thiz, jint width, jint height, jlong id) |
static AndroidMediaPlayer * | getMediaPlayer (jlong ptr) |
static void | onTrackInfoChangedNative (JNIEnv *env, jobject thiz, jlong ptr) |
static void | onTimedTextChangedNative (JNIEnv *env, jobject thiz, jstring timedText, jint time, jlong ptr) |
Variables | |
static const char | QtAndroidMediaPlayerClassName [] = "org/qtproject/qt/android/multimedia/QtAndroidMediaPlayer" |
typedef QList<AndroidMediaPlayer *> MediaPlayerList |
Definition at line 14 of file androidmediaplayer.cpp.
AndroidMediaPlayer::TrackInfo convertTrackInfo | ( | int | streamNumber, |
QJniObject | androidTrackInfo | ||
) |
Definition at line 107 of file androidmediaplayer.cpp.
References mimeType, and AndroidMediaPlayer::Unknown.
Referenced by AndroidMediaPlayer::tracksInfo().
|
static |
Definition at line 471 of file androidmediaplayer.cpp.
References ptr().
Referenced by onTimedTextChangedNative(), and onTrackInfoChangedNative().
|
static |
Definition at line 395 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 419 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 383 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 431 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 407 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 443 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, Q_UNUSED, and state.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 493 of file androidmediaplayer.cpp.
References emit, QString::fromUtf8(), getMediaPlayer(), ptr(), Q_UNUSED, and time.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 480 of file androidmediaplayer.cpp.
References emit, getMediaPlayer(), ptr(), and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 455 of file androidmediaplayer.cpp.
References i, Q_EMIT, Q_UNLIKELY, and Q_UNUSED.
Referenced by AndroidMediaPlayer::registerNativeMethods().
|
static |
Definition at line 20 of file androidmediaplayer.cpp.
References context, and QtAndroidMediaPlayerClassName.
|
static |
Definition at line 13 of file androidmediaplayer.cpp.
Referenced by Q_LOGGING_CATEGORY(), and AndroidMediaPlayer::registerNativeMethods().