GNOME Bugzilla – Bug 347670
Gossip has stopped playing all sounds
Last modified: 2006-07-23 23:55:21 UTC
Please describe the problem: Since I installed Gossip 0.11, no sounds for events have been played by Gossip. I did some debugging today and it seems that calls to set up the sound library and cache the sound samples are missing. The attached patch restores the sound-playing functionality. If code similar to this was not present in earlier releases of Gossip then it appears that the behaviour of libgnome2 may have changed. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: Forwarded from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376977>
Created attachment 68993 [details] [review] Fixes sound playback
I had a look through older versions of Gossip, and I see that in 0.8 sound were played with the gnome_sound_play function. The switch to using the nebelous gnome_triggers_do function was made in 0.10, which is the version which sounds stopped working for me (I think). So... has the new sound stuff ever worked for anyone? I can't see how, since the samples were never preloaded with gnome_sound_sample_load ...
Yes, they did work, but for me things stopped in Dapper when the sound config utility in GNOME changed. I will try the pre-load patch when I get back from holiday, unless Richard wants to play with the patch :)
Great, fixes the sounds for me too. I've committed the patch, thanks!
Ooh, thanks. It might be worth asking someone who knows more about libgnome to check this... I thought the call to gnome_sound_init would definatly be made for the application when it initialised libgnome...