GNOME Bugzilla – Bug 346066
[sunaudiosink] don't override user setting and switch on built-in speakers
Last modified: 2006-06-28 08:38:16 UTC
Attaching a patch that fixes an annoying problem with the sunaudiosink. The sink should not modify the ports value. If the user has turned off the built-in speakers, then we should not reset it in the prepare function. This causes the built-in speakers to turn back on anytime the user plays a file (or changes a track in totem, rhythmbox, etc.).
Created attachment 68094 [details] [review] patch to fix problem
Committed, thanks: 2006-06-28 Tim-Philipp Müller <tim at centricular dot net> Patch by: Brian Cameron <brian dot cameron at sun dot com> * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_prepare): Do not modify the ports value. If the user has turned off the built-in speakers, then we should not reset it in the prepare function, since this causes the built-in speakers to turn back on anytime the user changes a track in totem, rhythmbox, etc. (#346066).