sound api



Hello,

I am trying to figure out how to programmatically play sound from with
my gnome code.  I currently am trying to use the gnome_sound_* set of
functions.  Here is my code snippet

        gnome_sound_init ("127.0.0.1");


        gnome_sound_play("/usr/share/sounds/shutdown1.wav");


        gnome_sound_shutdown();


The code compiles and runs fine.  Just there is no sound.  The
functions don't return anything so I am at a loss at how the user
detects errors.  Any kindof help would be great.  Are there system
wide settings that need to be set?  I am pretty sure that esd is
running.

Travis Miller



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]