Best simple sound API?



Hi,

I'm almost ready to unleash unto the masses a game I've been
developing. I just need to add sound. The gnome-sound API is not rich
enough - using gnome_sound_play introduces an unacceptable lag (due to
the sample being loaded from disk or something like that, I guess),
and although there is gnome_sound_sample_load and
gnome_sound_connection_get, there is no function to actually play a
loaded sample.

What do people suggest I do? Add an #include <esd.h> and use
esd_sample_play?

Esd seems introduce considerable noise/distortion when playing the
samples, both on my laptop and my desktop machine.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/



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