4#ifndef QOPENSLESENGINE_H
5#define QOPENSLESENGINE_H
23#include <SLES/OpenSLES_Android.h>
37 SLEngineItf
slEngine()
const {
return m_engine; }
53 void checkSupportedInputFormats();
54 bool inputFormatIsSupported(SLAndroidDataFormat_PCM_EX
format);
55 SLObjectItf m_engineObject;
60 bool m_checkedInputFormats;
Mode
Describes the mode of this device.
static int getLowLatencyBufferSize(const QAudioFormat &format)
static QOpenSLESEngine * instance()
static int getOutputValue(OutputValue type, int defaultValue=0)
SLEngineItf slEngine() const
static int getDefaultBufferSize(const QAudioFormat &format)
static SLAndroidDataFormat_PCM_EX audioFormatToSLFormatPCM(const QAudioFormat &format)
static QList< QAudioDevice > availableDevices(QAudioDevice::Mode mode)
static bool supportsLowLatency()
static bool printDebugInfo()
QList< int > supportedSampleRates(QAudioDevice::Mode mode) const
QList< int > supportedChannelCounts(QAudioDevice::Mode mode) const
static bool setAudioOutput(const QByteArray &deviceId)
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format