fix(wireplumber): reorder initializer list to match header and fix -Wreorder warnings
This commit is contained in:
@@ -14,16 +14,18 @@ waybar::modules::Wireplumber::Wireplumber(const std::string& id, const Json::Val
|
|||||||
mixer_api_(nullptr),
|
mixer_api_(nullptr),
|
||||||
def_nodes_api_(nullptr),
|
def_nodes_api_(nullptr),
|
||||||
default_node_name_(nullptr),
|
default_node_name_(nullptr),
|
||||||
default_source_name_(nullptr),
|
|
||||||
pending_plugins_(0),
|
pending_plugins_(0),
|
||||||
muted_(false),
|
muted_(false),
|
||||||
source_muted_(false),
|
|
||||||
volume_(0.0),
|
volume_(0.0),
|
||||||
source_volume_(0.0),
|
|
||||||
min_step_(0.0),
|
min_step_(0.0),
|
||||||
node_id_(0),
|
node_id_(0),
|
||||||
|
node_name_(""),
|
||||||
|
source_name_(""),
|
||||||
|
type_(nullptr),
|
||||||
source_node_id_(0),
|
source_node_id_(0),
|
||||||
type_(nullptr) {
|
source_muted_(false),
|
||||||
|
source_volume_(0.0),
|
||||||
|
default_source_name_(nullptr) {
|
||||||
waybar::modules::Wireplumber::modules.push_back(this);
|
waybar::modules::Wireplumber::modules.push_back(this);
|
||||||
|
|
||||||
wp_init(WP_INIT_PIPEWIRE);
|
wp_init(WP_INIT_PIPEWIRE);
|
||||||
|
|||||||
Reference in New Issue
Block a user