レナート   Wunschkonzert, Ponyhof und Abenteuerspielplatz   ﻟﻴﻨﺎﺭﺕ

Thu, 28 Aug 2008

New libcanberra backends

I released libcanberra 0.8 a few hours ago. Biggest changes are some portability fixes for Solaris/FreeBSD, inclusion of an OSS backend (contributed by Joe Marcus Clarke) and a GStreamer backend (contributed by Marc-André Lureau). This will hopefully make certain doubts regarding libcanberra void.

Oh, and libcanberra now has a homepage.

posted at: 22:01 | path: /projects | permanent link to this entry | 3 comments


Posted by Tristan at Thu Aug 28 23:25:55 2008
This could lead to a fun new game: the longest chain of libraries in action between an application and your speakers. For example:

libcanberra -> GStreamer -> SDL -> Alsa -> Pulseaudio -> Alsa -> Sound card

I'm sure other people can do "better", though...

Posted by Zeeshan Ali at Fri Aug 29 23:29:28 2008
I am affraid tristan might be very right here. Do you really need multiple backends in libcanberra? Shouldn't it just use gstreamer and let gstreamer decide the elements/backends to use. Unless I am underestimating the scope/context of this library.

Posted by Lennart at Sat Aug 30 01:36:41 2008
Zeeshan: libcanberra is a layer that is supposed to translate XDG sound event names to the way sound events are generated on the local platform. Only for Unix platforms this means reading sound files and sending them to an audio device device. On Windows this measn playback should happen via the PlaySound() API. On MacOS via SystemSoundPlay().

Then, libcanberra also wraps cacheing of sound samples and passes metadata to the underlying subsystem, such as cursor positions needed for positional event sounds in PA.

Final libcanberra is supposed to be portable and usable in other toolkits like Qt, too.

Leave a Comment:

Your Name:


Your E-mail (optional):


Comment:


As a protection against comment spam, please type the following number into the field on the right:
Secret Number Image

Please note that this is neither a support forum nor a bug tracker! Support questions or bug reports posted here will be ignored and not responded to!


It should be obvious but in case it isn't: the opinions reflected here are my own. They are not the views of my employer, or Ronald McDonald, or anyone else.

Please note that I take the liberty to delete any comments posted here that I deem inappropriate, off-topic, or insulting. And I excercise this liberty quite agressively. So yes, if you comment here, I might censor you. If you don't want to be censored your are welcome to comment on your own blog instead.


Lennart Poettering <mzoybt (at) 0pointer (dot) net>
Syndicated on Planet GNOME, Planet Fedora, planet.freedesktop.org, Planet Debian Upstream. feed RSS 0.91, RSS 2.0
Archives: 2005, 2006, 2007, 2008, 2009, 2010, 2011

Valid XHTML 1.0 Strict!   Valid CSS!