Add option to turn off playbin3
This commit is contained in:
@@ -46,6 +46,7 @@ using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
EngineBase::EngineBase(QObject *parent)
|
||||
: QObject(parent),
|
||||
playbin3_enabled_(true),
|
||||
exclusive_mode_(false),
|
||||
volume_control_(true),
|
||||
volume_(100),
|
||||
@@ -156,6 +157,8 @@ void EngineBase::ReloadSettings() {
|
||||
device_ = s.value(BackendSettings::kDevice);
|
||||
}
|
||||
|
||||
playbin3_enabled_ = s.value(BackendSettings::kPlaybin3, true).toBool();
|
||||
|
||||
exclusive_mode_ = s.value(BackendSettings::kExclusiveMode, false).toBool();
|
||||
|
||||
volume_control_ = s.value(BackendSettings::kVolumeControl, true).toBool();
|
||||
|
||||
Reference in New Issue
Block a user