Sound Utilities

Sound Utilities — libcanberra-based utility function for playing a sound.

Synopsis

void                hildon_play_system_sound            (const gchar *sample);

Description

Please note that this method is only provided for backwards compatibility, but we highly recommend you to use canberra-gtk directly instead.

Details

hildon_play_system_sound ()

void                hildon_play_system_sound            (const gchar *sample);

Plays the given sample using libcanberra. Volume level is received from gconf.

This method sets the "dialog-information" role for the sound played, so you need to keep this into account when using it. For any purpose, it is highly recommended that you use canberra-gtk instead of this method.

sample : sound file to play