GNOME Bugzilla – Bug 616743
Use positional sound for audible window bell
Last modified: 2010-05-03 08:58:42 UTC
Many components in the GNOME desktop use libcanberra-gtk to play sounds, which has led us to a wonderful world of positional sounds (in many cases), where a sound seems to come from the same direction as an interaction on the screen. Metacity uses libcanberra for audible bells, so it is pretty straight-forward to get the same feature. In my opinion, it would make Metacity's bell sound suddenly awesome, for a number of reasons. To implement the feature, Metacity needs to give a few extra properties to Canberra, which describe the position of the window associated with the bell. Patch is attached. I look forward to any feedback! Some usability analysis may be a good idea, too. I think positional sounds have tremendous benefits for usability, but there could be some other viewpoints out there :)
Created attachment 159494 [details] [review] Patch (based on metacity from git) adding positional sound hints to src/core/bell.c: meta_bell_notify
Review of attachment 159494 [details] [review]: Doesn't this introduce a memory leak when you remove the calls to g_free() and friends?
Review of attachment 159494 [details] [review]: Sorry, ignore that. It was supposed to be added to a completely different bug.