Skip to content

Commit

Permalink
possible fix for #43
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdegottex committed May 7, 2016
1 parent 7b1410e commit f4fbfed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CaptureThreadImplQt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ void CaptureThreadImplQt::set_params(bool test) {

m_audioInputDevice = QAudioDeviceInfo();
for(int i=0; m_audioInputDevice.isNull() && i<devices.count(); i++)
if(getASCIISource()==devices.at(i).deviceName())
if(getASCIISource()==devices.at(i).deviceName()
|| m_source==devices.at(i).deviceName())
m_audioInputDevice = devices.at(i);
}

Expand Down

0 comments on commit f4fbfed

Please sign in to comment.