Commit cebc8532 authored by Isa's avatar Isa Committed by Adrien Béraud

fix: save audio input/output device at user change

Change-Id: If6cbb6c5753e0eebcf555f4e6126a7d368f93aef
parent be64436f
......@@ -2190,6 +2190,8 @@ Manager::setAudioPlugin(const std::string& audioPlugin)
pimpl_->audiodriver_->startStream();
else
RING_ERR("No audio layer created, possibly built without audio support");
saveConfig();
}
/**
......@@ -2217,6 +2219,8 @@ Manager::setAudioDevice(int index, DeviceType type)
if (pimpl_->audiodriver_ and wasStarted)
pimpl_->audiodriver_->startStream();
saveConfig();
}
/**
......
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