GNOME Bugzilla – Bug 546929
Use libcanberra for sound events
Last modified: 2009-11-30 22:58:57 UTC
Since we now have a proper sound naming specification and a sound theme specification, we should use the newly accepted libcanberra for sound events. As per spec (http://0pointer.de/public/sound-naming-spec.html) there is now a "camera-shutter" event that we should use for taking pictures. Cheese could either push the shutter sample to the Freedesktop sound theme (as it is lacking one at the moment) or try to provide its own (this might result in a file name collision as I expect the Freedesktop theme to provide sounds for all named events at the moment of shipping 2.24).
Created attachment 116136 [details] [review] Use libcanberra instead of gst-audio-play This patch makes the gst-audio-play.* files obsolete so they can be removed. waf script was patched but not checked.
Notice there is also "count-down" event we can trigger in the countdown widget :)
Adding Lennart to CC as I believe he is the maintainer of the Freedesktop sound theme. Lennart: Cheese has a shutter sound that could be moved to the fd.o sound theme (so we can use libcanberra-gtk).
It would make a lot of sense to move it into the freedesktop theme. However, according to Daniel the license of that file is not clear, which ties my hands. It might be possible to find a good free sound here though: http://wiki.laptop.org/go/Sound_samples Anyone up to it?
Created attachment 116181 [details] [review] Better patch Add countdown sounds and proper i18n/a11y
(In reply to comment #4) > It would make a lot of sense to move it into the freedesktop theme. However, > according to Daniel the license of that file is not clear, which ties my hands. > yes, we cant use my sound as i just recorded the clicking of my digital camera...
Here's a nice sound that could be easily cut into a perfect sample: http://www.freesound.org/samplesViewSingle.php?id=16071 I'm sure analog camera noises (Nikon F4 is from the '80s) cannot be copyrighted by Nikon. Not sure if the CC-Sample+ license is good enough though. Could someone contact the author and ask him to donate a sub-sample of the file under a compatible license (which one? LGPL? GPL? CC-BY-SA?) in exchange for making the world a better place and source attribution?
CC-Sample+ is not enough unfortunately. CC-BY 3.0 and CC-BY-SA 3.0 are the only CC licenses considered "Free" by DFSG and FSF, as far as I understood. I am happy to merge any good sound into s-t-f as long as the license is good.
does libcanberra feature a camera click now?
lennart, are you back from gc? ;) couldnt find a release of the new sound theme yet, will it be ready for 2.28?
I prepped a patch for Jon now to include the camera shutter sound in the tarball (it was only missing in the makefile, it was in the repo since about always). We'll see when he preps a new tarball.
New tarball of sound-theme-freedesktop with camera-shutter.ogg is now rolled and even already in Rawhide.
Created attachment 139833 [details] [review] updated patch updated patch
*** This bug has been marked as a duplicate of bug 603152 ***