OpenSL ES: volume support for QAudioInput.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 3 Dec 2014 15:28:48 +0000 (16:28 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 3 Dec 2014 15:45:55 +0000 (16:45 +0100)
commit9496d5fba5439bf4e4c1d80b5e5f76af82b89165
tree85b65f27b55f4bc83b2eab5b9da9352477e26cd4
parent3443517265cbe432ada3b857f68ad981af6cd152
OpenSL ES: volume support for QAudioInput.

The OpenSL volume interface is not available for audio inputs on
Android so we apply the volume ourselves on the PCM data.

Task-number: QTBUG-42159
Change-Id: If43d8aa576bc70a925681f0db1ca8b40e71f7b29
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/plugins/opensles/qopenslesaudioinput.cpp
src/plugins/opensles/qopenslesaudioinput.h