GNOME Bugzilla – Bug 379314
[Patch] Set "profile" property of gconfaudiosink; honour "music/movies" setting
Last modified: 2006-11-26 21:01:29 UTC
Patch created to cause Rhythmbox to honour the sound profile settings in GConf.
Created attachment 77149 [details] [review] Patch to make the gconfaudiosink honour profile settings
Committed to cvs with a small change, checking that the property exists before attempting to set it. Thanks.
Are you sure you're checking for the property on the right object? if (sink != NULL) { /* set the profile property on the gconfaudiosink to "music and movies" */ if (g_object_class_find_property (G_OBJECT_GET_CLASS (source), "profile")) g_object_set (G_OBJECT (source), "profile", 1, NULL); g_object_set (G_OBJECT (mp->priv->playbin), "audio-sink", sink, NULL);
I was setting it on sink... that's right, right?
Hmm, doesn't even compile now. I think it definitely should have been "sink". I see the same stuff just went into Totem CVS. (Except that compiles!) :D
fixed.