Gnome Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gnome.h> void gnome_sound_init (const char *hostname); void gnome_sound_shutdown (void); int gnome_sound_sample_load (const char *sample_name, const char *filename); void gnome_sound_play (const char *filename); |
void gnome_sound_init (const char *hostname); |
Initialize esd connection
This routine initializes the applications connection to the system's sound server.
The application can expect this to be automatically called if the user has requested GNOME sound support.
int gnome_sound_sample_load (const char *sample_name, const char *filename); |
Loads the audio on filename and XXXX
Loads a sound file into esound sample with the given name. Returns the esound numeric ID of the sample.