summaryrefslogtreecommitdiffstats
path: root/src/plugins/opensles/qopenslesaudioinput.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2014-10-31 13:47:19 +0100
committerChristian Stromme <christian.stromme@digia.com>2014-11-04 14:18:39 +0100
commitad929984e3560407cd530d4420bda97e973d5e7d (patch)
tree954085a7aa700f6896ab55cecd286e01315f265d /src/plugins/opensles/qopenslesaudioinput.h
parentd0ed4f3b085414dc8288363e527e49ebfd2eb339 (diff)
OpenSL ES: Don't store or return the adjusted volume level.
According to our own docs we should always return 1.0 (MAX) volume level if the device doesn't support setting the volume, which is the case for OpenSL ES on Android. Task-number: QTBUG-42159 Change-Id: I9144e9e2cd84cc80633c68c5d6fa32b8dbd0fcd5 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/plugins/opensles/qopenslesaudioinput.h')
-rw-r--r--src/plugins/opensles/qopenslesaudioinput.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/opensles/qopenslesaudioinput.h b/src/plugins/opensles/qopenslesaudioinput.h
index 7ffff0470..481ff371a 100644
--- a/src/plugins/opensles/qopenslesaudioinput.h
+++ b/src/plugins/opensles/qopenslesaudioinput.h
@@ -113,7 +113,6 @@ private:
QAudio::State m_deviceState;
QTime m_clockStamp;
qint64 m_lastNotifyTime;
- qreal m_volume;
int m_bufferSize;
int m_periodSize;
int m_intervalTime;