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 347670 - Gossip has stopped playing all sounds
Gossip has stopped playing all sounds
Product: gossip
Classification: Deprecated
Component: General
Other All
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Reported: 2006-07-16 12:57 UTC by Sam Morris
Modified: 2006-07-23 23:55 UTC
See Also:
GNOME target: ---
GNOME version: ---

Fixes sound playback (858 bytes, patch)
2006-07-16 12:58 UTC, Sam Morris
none Details | Review

Description Sam Morris 2006-07-16 12:57:42 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 <>
Comment 1 Sam Morris 2006-07-16 12:58:42 UTC
Created attachment 68993 [details] [review]
Fixes sound playback
Comment 2 Sam Morris 2006-07-16 22:27:19 UTC
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 ...
Comment 3 Martyn Russell 2006-07-17 08:44:15 UTC
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 :)
Comment 4 Richard Hult 2006-07-21 22:40:55 UTC
Great, fixes the sounds for me too. I've committed the patch, thanks!
Comment 5 Sam Morris 2006-07-23 23:55:21 UTC
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...