Sfoglia il codice sorgente

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.
fryshorts 11 anni fa
parent
commit
ca1ddd4c62
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      plugins/linux-pulseaudio/pulse-wrapper.c

+ 3 - 3
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);