diff --git a/src/autoapp/Configuration/Configuration.cpp b/src/autoapp/Configuration/Configuration.cpp index 90b083b1..c1c42297 100644 --- a/src/autoapp/Configuration/Configuration.cpp +++ b/src/autoapp/Configuration/Configuration.cpp @@ -102,7 +102,8 @@ void Configuration::load() catch(const boost::property_tree::ini_parser_error& e) { OPENAUTO_LOG(warning) << "[Configuration] failed to read configuration file: " << cConfigFileName - << ", error: " << e.what(); + << ", error: " << e.what() + << ". Using default configuration."; this->reset(); } } @@ -119,6 +120,8 @@ void Configuration::reset() buttonCodes_.clear(); bluetoothAdapterType_ = BluetoothAdapterType::NONE; bluetoothRemoteAdapterAddress_ = ""; + musicAudioChannelEnabled_ = true; + speechAudiochannelEnabled_ = true; } void Configuration::save()