13
0

do not call AudioEngine::set_driver() when the backend does not require driver selection

This commit is contained in:
Paul Davis 2013-10-15 11:08:51 -04:00
parent f6ba1d2271
commit fb1eefdd5e

View File

@ -1273,7 +1273,9 @@ EngineControl::EngineControl ()
of settings.
*/
change_driver = true;
change_device = true;
if (backend->requires_driver_selection()) {
change_device = true;
}
change_rate = true;
change_bufsize = true;
change_channels = true;