Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qopenslesengine_p.h"
#include "qandroidaudiosource_p.h"
#include "qandroidaudiodevice_p.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qjniobject.h>
#include <QtCore/qpermissions.h>
#include <QtCore/private/qandroidextras_p.h>
#include <qdebug.h>
Go to the source code of this file.
Macros | |
#define | MINIMUM_PERIOD_TIME_MS 5 |
#define | DEFAULT_PERIOD_TIME_MS 50 |
#define | CheckError(message) if (result != SL_RESULT_SUCCESS) { qWarning(message); return; } |
#define | SL_ANDROID_PCM_REPRESENTATION_INVALID 0 |
Functions | |
Q_GLOBAL_STATIC (QOpenSLESEngine, openslesEngine) | |
static SLuint32 | getChannelMask (unsigned channelCount) |
static bool | hasRecordPermission () |
Definition at line 18 of file qopenslesengine.cpp.
Referenced by QOpenSLESEngine::QOpenSLESEngine().
#define DEFAULT_PERIOD_TIME_MS 50 |
Definition at line 16 of file qopenslesengine.cpp.
#define MINIMUM_PERIOD_TIME_MS 5 |
Definition at line 15 of file qopenslesengine.cpp.
#define SL_ANDROID_PCM_REPRESENTATION_INVALID 0 |
Definition at line 20 of file qopenslesengine.cpp.
Referenced by QOpenSLESEngine::audioFormatToSLFormatPCM().
|
static |
Definition at line 52 of file qopenslesengine.cpp.
Referenced by QOpenSLESEngine::audioFormatToSLFormatPCM().
|
static |
Definition at line 138 of file qopenslesengine.cpp.
References Qt::Granted, and qApp.
Q_GLOBAL_STATIC | ( | QOpenSLESEngine | , |
openslesEngine | ) |