Add a volume (gain) property to QAudioInput.

Only implemented for PulseAudio so far, but the API does explain that
it's optional.

Change-Id: I4543a1c81d810fe92bb08f1ed13f3a3534a371e4
Reviewed-by: Ling Hu <ling.hu@nokia.com>
This commit is contained in:
Michael Goddard
2012-01-25 13:50:37 +10:00
committed by Qt by Nokia
parent 8aef60c1cf
commit 3b00730eca
8 changed files with 181 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ public:
void setNotifyInterval(int milliSeconds);
int notifyInterval() const;
void setVolume(qreal volume);
qreal volume() const;
qint64 processedUSecs() const;
qint64 elapsedUSecs() const;