Files
qtmultimedia/src/plugins/opensles/opensles.pro
Christian Strømme 3bd9da9aba Android: Improve detection of optimal settings for QAudioOutput.
This change will try to detect the optimal buffer size and sample-rate
on Android (requires API level 17+). If the device supports low-latency
playback, then it's recommended that application developers check the
preferred sample-rate through QAudioDeviceInfo::preferredFormat().
On most devices the preferred sample rate seems to be 48 KHz, so this
is now the default instead of 44.1 KHz.

Note that not all devices supports "proper" low-latency playback, and
there are no APIs to retrieve information about how many devices that
can be active at the same time; The only remotely quantitative value
I've found is "a few"...

Change-Id: I0708738b4a31f6bf9e88e9a816679cb688e023f3
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
2016-01-08 00:04:12 +00:00

26 lines
493 B
Prolog

TARGET = qtaudio_opensles
QT += multimedia-private core-private
PLUGIN_TYPE = audio
PLUGIN_CLASS_NAME = QOpenSLESPlugin
load(qt_plugin)
LIBS += -lOpenSLES
HEADERS += \
qopenslesplugin.h \
qopenslesengine.h \
qopenslesdeviceinfo.h \
qopenslesaudioinput.h \
qopenslesaudiooutput.h
SOURCES += \
qopenslesplugin.cpp \
qopenslesengine.cpp \
qopenslesdeviceinfo.cpp \
qopenslesaudioinput.cpp \
qopenslesaudiooutput.cpp
OTHER_FILES += \
opensles.json