![]() |
Qt 6.x
The Qt SDK
|
#include <qopenslesengine_p.h>
Collaboration diagram for QOpenSLESEngine:Public Types | |
| enum | OutputValue { FramesPerBuffer , SampleRate } |
Public Member Functions | |
| QOpenSLESEngine () | |
| ~QOpenSLESEngine () | |
| SLEngineItf | slEngine () const |
| QList< int > | supportedChannelCounts (QAudioDevice::Mode mode) const |
| QList< int > | supportedSampleRates (QAudioDevice::Mode mode) const |
Static Public Member Functions | |
| static QOpenSLESEngine * | instance () |
| static SLAndroidDataFormat_PCM_EX | audioFormatToSLFormatPCM (const QAudioFormat &format) |
| static QList< QAudioDevice > | availableDevices (QAudioDevice::Mode mode) |
| static bool | setAudioOutput (const QByteArray &deviceId) |
| static int | getOutputValue (OutputValue type, int defaultValue=0) |
| static int | getDefaultBufferSize (const QAudioFormat &format) |
| static int | getLowLatencyBufferSize (const QAudioFormat &format) |
| static bool | supportsLowLatency () |
| static bool | printDebugInfo () |
Definition at line 27 of file qopenslesengine_p.h.
| Enumerator | |
|---|---|
| FramesPerBuffer | |
| SampleRate | |
Definition at line 30 of file qopenslesengine_p.h.
| QOpenSLESEngine::QOpenSLESEngine | ( | ) |
Definition at line 24 of file qopenslesengine.cpp.
References CheckError.
| QOpenSLESEngine::~QOpenSLESEngine | ( | ) |
Definition at line 41 of file qopenslesengine.cpp.
|
static |
Definition at line 52 of file qopenslesengine.cpp.
References QSysInfo::ByteOrder, QAudioFormat::Float, QAudioFormat::Int16, QAudioFormat::Int32, QSysInfo::LittleEndian, QAudioFormat::NSampleFormats, SL_ANDROID_PCM_REPRESENTATION_INVALID, QAudioFormat::UInt8, and QAudioFormat::Unknown.
|
static |
Definition at line 87 of file qopenslesengine.cpp.
References create(), i, QAudioDevice::Input, QAudioDevice::Output, pos, and QStringLiteral.
Referenced by QAndroidMediaDevices::audioInputs(), and QAndroidMediaDevices::audioOutputs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 207 of file qopenslesengine.cpp.
References channelConfig, DEFAULT_PERIOD_TIME_MS, QAudioFormat::Float, QAudioFormat::Int16, and QAudioFormat::UInt8.
Referenced by openSlDebugInfo().
Here is the caller graph for this function:
|
static |
Definition at line 247 of file qopenslesengine.cpp.
References FramesPerBuffer, getOutputValue(), and MINIMUM_PERIOD_TIME_MS.
Referenced by openSlDebugInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 152 of file qopenslesengine.cpp.
References FramesPerBuffer, and SampleRate.
Referenced by getLowLatencyBufferSize(), and openSlDebugInfo().
Here is the caller graph for this function:
|
static |
Definition at line 47 of file qopenslesengine.cpp.
|
static |
Definition at line 281 of file qopenslesengine.cpp.
References qEnvironmentVariableIsSet().
Here is the call graph for this function:
|
static |
Definition at line 116 of file qopenslesengine.cpp.
References QByteArray::toInt().
Here is the call graph for this function:
|
inline |
Definition at line 37 of file qopenslesengine_p.h.
| QList< int > QOpenSLESEngine::supportedChannelCounts | ( | QAudioDevice::Mode | mode | ) | const |
Definition at line 129 of file qopenslesengine.cpp.
References QAudioDevice::Input.
Referenced by QOpenSLESDeviceInfo::QOpenSLESDeviceInfo().
Here is the caller graph for this function:| QList< int > QOpenSLESEngine::supportedSampleRates | ( | QAudioDevice::Mode | mode | ) | const |
Definition at line 140 of file qopenslesengine.cpp.
References QAudioDevice::Input.
Referenced by QOpenSLESDeviceInfo::QOpenSLESDeviceInfo().
Here is the caller graph for this function:
|
static |
Definition at line 253 of file qopenslesengine.cpp.
Referenced by openSlDebugInfo().
Here is the caller graph for this function: