Add option to turn off playbin3

This commit is contained in:
Jonas Kvinge
2025-04-08 21:19:15 +02:00
parent b66c0f5573
commit 71287dd77e
8 changed files with 42 additions and 14 deletions

View File

@@ -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();