From ca1ddd4c62c0b39336736c3760370cb79688be49 Mon Sep 17 00:00:00 2001 From: fryshorts Date: Sat, 2 Aug 2014 16:51:23 +0200 Subject: [PATCH] Update information provided by pulseaudio plugin to pulse. The plugin now uses the generic name "OBS" to identify itself to pulseaudio. Until now the pulseaudio plugin used a placeholder icon for the mixer to display. Now that we have a real icon installed to the system we can use that instead. --- plugins/linux-pulseaudio/pulse-wrapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/linux-pulseaudio/pulse-wrapper.c b/plugins/linux-pulseaudio/pulse-wrapper.c index 991d1cb89..44820e40e 100644 --- a/plugins/linux-pulseaudio/pulse-wrapper.c +++ b/plugins/linux-pulseaudio/pulse-wrapper.c @@ -51,8 +51,8 @@ static pa_proplist *pulse_properties() { pa_proplist *p = pa_proplist_new(); - pa_proplist_sets(p, PA_PROP_APPLICATION_NAME, "OBS Studio"); - pa_proplist_sets(p, PA_PROP_APPLICATION_ICON_NAME, "application-exit"); + pa_proplist_sets(p, PA_PROP_APPLICATION_NAME, "OBS"); + pa_proplist_sets(p, PA_PROP_APPLICATION_ICON_NAME, "obs"); pa_proplist_sets(p, PA_PROP_MEDIA_ROLE, "production"); return p; @@ -67,7 +67,7 @@ static void pulse_init_context() pa_proplist *p = pulse_properties(); pulse_context = pa_context_new_with_proplist( - pa_threaded_mainloop_get_api(pulse_mainloop), "OBS Studio", p); + pa_threaded_mainloop_get_api(pulse_mainloop), "OBS", p); pa_context_set_state_callback(pulse_context, pulse_context_state_changed, NULL);