PDA

View Full Version : How to play sounds in Gnome C application



bluedalmatian
September 10th, 2010, 01:13 AM
Is there an API to play an Ogg sound in a C based Gnome app. I want to be able to play a short alert when an event occurs.

Ive done a Google search but cant find anything.

PmDematagoda
September 10th, 2010, 02:06 AM
libcanberra (http://0pointer.de/lennart/projects/libcanberra/) should interest you.

bluedalmatian
September 11th, 2010, 12:01 AM
OK thanks Ill have a look.