mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Revert "Fix waybar-pulseaudio with pipewire-pulse"
This reverts commit 0d03c1d4da50ef248b197c29301e7cd879f98336.
This commit is contained in:
parent
94f8f74f51
commit
005af7f7b7
@ -178,8 +178,8 @@ void waybar::modules::Pulseaudio::serverInfoCb(pa_context *context, const pa_ser
|
|||||||
pa->default_sink_name_ = i->default_sink_name;
|
pa->default_sink_name_ = i->default_sink_name;
|
||||||
pa->default_source_name_ = i->default_source_name;
|
pa->default_source_name_ = i->default_source_name;
|
||||||
|
|
||||||
pa_context_get_sink_info_by_name(context, "@DEFAULT_SINK@", sinkInfoCb, data);
|
pa_context_get_sink_info_by_name(context, i->default_sink_name, sinkInfoCb, data);
|
||||||
pa_context_get_source_info_by_name(context, "@DEFAULT_SOURCE@", sourceInfoCb, data);
|
pa_context_get_source_info_by_name(context, i->default_source_name, sourceInfoCb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const std::array<std::string, 9> ports = {
|
static const std::array<std::string, 9> ports = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user