After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533198 - add config option for legacy sound, always enable pulseaudio
add config option for legacy sound, always enable pulseaudio
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2008-05-14 21:37 UTC by Colin Walters
Modified: 2008-06-17 18:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
check for pulse at build time, disable sound preferences (2.33 KB, patch)
2008-05-14 21:38 UTC, Colin Walters
none Details | Review

Description Colin Walters 2008-05-14 21:37:35 UTC
Hi, this attached patch changes gnome-settings-daemon to ignore the legacy ESD GConf preference if compiled to use Pulseaudio; we just always start pulse.

This fixes the issue where if a user had disabled ESD because it caused problems, on later upgrades pulse wouldn't be started, which isn't desired.

This should have never been in GConf anyways, it isn't a preference.

We'll be using this patch in Fedora.
Comment 1 Colin Walters 2008-05-14 21:38:11 UTC
Created attachment 110935 [details] [review]
check for pulse at build time, disable sound preferences
Comment 2 Jens Granseuer 2008-05-15 20:04:16 UTC
I'm not sure we want to do that. PA may be better, but as long as we have a preference in the UI saying "start sound server" (and we can't really get rid of that until esd is thoroughly dead - and even then I'm not sure we want to; if PA worked flawlessly, yeah; does it? probably not (yet)) it's just calling for a different kind of bug report.

(Ignoring for the moment that adding an option for enabling an option seems like... not much better than esd.)
Comment 3 Colin Walters 2008-05-15 20:16:40 UTC
Fedora disables that UI preference, and I would like to see that patch upstreamed.

Remember that the option we're adding here is a *code* option.  It's used by operating system developers once.  It is an option to disable a *user* option, which is only useful if you're using ESD.
Comment 4 Bastien Nocera 2008-06-17 18:10:22 UTC
Agreed there, and the patch looks sane.
Comment 5 Colin Walters 2008-06-17 18:38:46 UTC
Thanks for the review!

Sending        ChangeLog
Sending        configure.ac
Sending        plugins/sound/gsd-sound-manager.c
Transmitting file data ...
Committed revision 379.