Volume control for QAudioInput windows backend.
Change-Id: I1245a38c68254fc48373a856dc44e8ad8142636e Reviewed-by: Ling Hu <ling.hu@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
64dbf9d968
commit
403eee4d87
@@ -114,6 +114,8 @@ public:
|
||||
qint64 elapsedUSecs() const;
|
||||
QAudio::Error error() const;
|
||||
QAudio::State state() const;
|
||||
void setVolume(qreal volume);
|
||||
qreal volume() const;
|
||||
|
||||
QIODevice* audioSource;
|
||||
QAudioFormat settings;
|
||||
@@ -150,6 +152,11 @@ private:
|
||||
bool open();
|
||||
void close();
|
||||
|
||||
void initMixer();
|
||||
void closeMixer();
|
||||
UINT mixerID;
|
||||
MIXERLINECONTROLS mixerLineControls;
|
||||
|
||||
private slots:
|
||||
void feedback();
|
||||
bool deviceReady();
|
||||
|
||||
Reference in New Issue
Block a user