diff options
author | Lev Zelenskiy <lev.zelenskiy@nokia.com> | 2012-07-30 12:08:00 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-30 08:05:49 +0200 |
commit | d272782da961ec795817b69e618afb5996a8be2d (patch) | |
tree | ca8ccc01ec8d8bd276bf267aeb2e9fee1fd5bb96 /src/plugins/audiocapture/audiocapturesession.cpp | |
parent | 8b9b5ba6371b8787b5f6fcf47feaecbcc9fbf36b (diff) | |
download | qtmultimedia-d272782da961ec795817b69e618afb5996a8be2d.tar.gz |
Fixed: use selected audio input device.
Change-Id: I6bde75bff93160169f9c28ad658db40b03c266f4
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
Diffstat (limited to 'src/plugins/audiocapture/audiocapturesession.cpp')
-rw-r--r-- | src/plugins/audiocapture/audiocapturesession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/audiocapture/audiocapturesession.cpp b/src/plugins/audiocapture/audiocapturesession.cpp index 8fd36d35b..7df84cc0f 100644 --- a/src/plugins/audiocapture/audiocapturesession.cpp +++ b/src/plugins/audiocapture/audiocapturesession.cpp @@ -398,7 +398,7 @@ void AudioCaptureSession::setCaptureDevice(const QString &deviceName) for(int i = 0; i < devices.size(); i++) { if(qstrcmp(m_captureDevice.toLocal8Bit().constData(), devices.at(i).deviceName().toLocal8Bit().constData())==0){ - m_deviceInfo = new QAudioDeviceInfo(QAudioDeviceInfo::defaultInputDevice()); + m_deviceInfo = new QAudioDeviceInfo(devices.at(i)); return; } } |