Saturday, July 17, 2010


Although the Gtk+ libraries form the basis of the Gnome desktop there are no core library functions handling sound playback. Ok, there's beep but that's it. In order to play sounds of any form other libraries need to be called to work around the inbuilt complexities of playing sounds on any sort of ~nix platform. The canberra libraries provide that bridge. This library isn't intended to provide any sort of API to an audio playback system but to simply play short sounds in response to UI events. The gnocl::sound command will simply cause a sound file to be played. Nothing more, nothing less.

It would be interesting to add sound events to various widget actions, the API exists within the canberra-gtk library but that's for another day.

No comments: