Thanks for the reply, Tim.<br><br>Isn't it a bit of an overkill to set up an entire GST pipeline just to play a blip sound?<br><br>Is there something more lightweight?<br><br>-Topi<br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 4:51 PM, Tim Teulings <span dir="ltr"><<a href="mailto:rael@edge.ping.de">rael@edge.ping.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello!<br>
<div class="im"><br>
> I tried using libcanberra, and my example works on the desktop, but when<br>
I<br>
> move it to Scratchbox, I get a CA_ERROR_NOTAVAILABLE when I call<br>
> ca_context_play().<br>
</div>[...]<br>
<div class="im">> Should I be doing something different? Is there a better API? What do<br>
> linux game developers usually use for playing short sounds? Can anybody<br>
> provide any examples?<br>
<br>
</div>AFAIK, libcanberra is mainly for triggering playing system sounds (from<br>
some system sound theme),<br>
like in "play the sound the OS defiens to be played when I pressing a<br>
button".<br>
<br>
For playing any sound (and much more :-)) you can use the gstreamer API.<br>
<br>
take a look at:<br>
<br>
<a href="http://maemo.org/development/sdks/maemo_5_api_documentation/" target="_blank">http://maemo.org/development/sdks/maemo_5_api_documentation/</a><br>
<br>
Section Multimedia APIs<br>
<font color="#888888"><br>
--<br>
Gruß...<br>
Tim<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</font></blockquote></div><br>