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

From: Tim Teulings rael at edge.ping.de
Date: Wed Oct 28 17:12:39 EET 2009

> Isn't it a bit of an overkill to set up an entire GST pipeline just to
> play
> a blip sound?

Yes, but if you want to play your own sound or any sound on the filesystem
this seems the
way to go (libcanberra is for predefined sounds for predefined events).
Lower level ways are likely forbitten, higher level ways likely require
more code.
> Is there something more lightweight?

You can use "playbin" (or playbin2?) for simplifing the pipeline building
process. That still
makes it a number of lines of code (but of course you will wrap that into a
helper method :-)).

More information about the maemo-developers mailing list