GNOME Bugzilla – Bug 735777
media-keys: Postpone initialisation of libcanberra
Last modified: 2014-09-01 12:30:57 UTC
.
Created attachment 284966 [details] [review] media-keys: Postpone initialisation of libcanberra It's possible for gnome-settings-daemon to block for the initialisation of PulseAudio on startup, especially as some of PulseAudio's enumerations could take a while. Instead of initialising libcanberra on startup, initialise it when we're actually going to use it the first time. Given that this happens in a volume media key handling function, there's a good chance that PulseAudio will already be initialised at that point. See https://bugzilla.gnome.org/show_bug.cgi?id=645756#c3
Review of attachment 284966 [details] [review]: Didn't test, but looks fine
Attachment 284966 [details] pushed as 2f6f42f - media-keys: Postpone initialisation of libcanberra