[maemo-developers] [maemo-developers] Playing wav sounds using hildon

From: Markku Vire markku.vire at movial.fi
Date: Wed Mar 8 10:22:21 EET 2006
Hi,

Steven Hill wrote:
> I am using hildon sounds to play sounds through:
> 
> hildon_play_system_sound("ui-key_press.wav");

You probably would like to use absolute path here.

> when this line is executed I get the following errors:
> 
> Audio  File Library: could not open file 'ui-key_press.wav' [error 3]
> GLIB_WARNING ** default - error while caching sample.
> 
> But the sound is playing, so obviously the file is being opened.  Should
> I be concerned about these errors?

Default keypress sounds? Anyway, if you get the error mentioned above, 
hildon_play_system_sound doesn't try to play anything, so you should be 
worried ;)

-Markku-

More information about the maemo-developers mailing list