Merge pull request #955 from ilpianista/bugfix/revert-pipewire-pulse

Revert "Fix waybar-pulseaudio with pipewire-pulse"
pull/959/head
Alex 2020-12-25 17:50:01 +01:00 committed by GitHub
commit 7fbd3657e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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_source_name_ = i->default_source_name;
pa_context_get_sink_info_by_name(context, "@DEFAULT_SINK@", sinkInfoCb, data);
pa_context_get_source_info_by_name(context, "@DEFAULT_SOURCE@", sourceInfoCb, data);
pa_context_get_sink_info_by_name(context, i->default_sink_name, sinkInfoCb, data);
pa_context_get_source_info_by_name(context, i->default_source_name, sourceInfoCb, data);
}
static const std::array<std::string, 9> ports = {