[maemo-developers] Maemo 5 - Playing sounds from Qt

From: Tim Teulings rael at edge.ping.de
Date: Wed Oct 28 16:51:42 EET 2009

> I tried using libcanberra, and my example works on the desktop, but when
> move it to Scratchbox, I get a CA_ERROR_NOTAVAILABLE when I call
> ca_context_play().
> Should I be doing something different?  Is there a better API?  What do
> linux game developers usually use for playing short sounds?  Can anybody
> provide any examples?

AFAIK, libcanberra is mainly for triggering playing system sounds (from
some system sound theme),
like in "play the sound the OS defiens to be played when I pressing a

For playing any sound (and much more :-)) you can use the gstreamer API.

take a look at:


Section Multimedia APIs

More information about the maemo-developers mailing list