Commit fce17764 authored by Sébastien Blin's avatar Sébastien Blin Committed by Philippe Gorley

avmodel: select correct audio input

Change-Id: I906b310ed0f8c9d8bc48bea03921457f5d5246ac
Reviewed-by: Philippe Gorley's avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent 0e0dc206
......@@ -327,7 +327,7 @@ void
AVModel::setInputDevice(const std::string& name)
{
int idx = ConfigurationManager::instance()
.getAudioOutputDeviceIndex(name.c_str());
.getAudioInputDeviceIndex(name.c_str());
ConfigurationManager::instance().setAudioInputDevice(idx);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment