From d63f4f4ecc8947e51133dcbb5cacea95400ace24 Mon Sep 17 00:00:00 2001 From: Jordi Albornoz Date: Thu, 17 Oct 2002 09:26:39 +0000 Subject: [PATCH] patch from Ryan Underwood which fixes sound support. --- ChangeLog | 5 +++++ src/sound.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18155c2..cec70e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-17 Jordi Mallach + + * src/sound.c (sound_playsound): patch from Ryan Underwood which + fixes sound support. + 2002-10-14 Jordi Mallach * Makefile.am: add a "changelog" target, generates a CVS-based diff --git a/src/sound.c b/src/sound.c index 75193b0..8f38a40 100644 --- a/src/sound.c +++ b/src/sound.c @@ -55,8 +55,8 @@ void sound_cache (void) void sound_playsound (int id) { if (!soundenable) return; - if (soundsamples[id]) - esd_sample_play (gnome_sound_connection, soundsamples[id]); + if (soundfiles[id][0]) + esd_play_file ("gtetrinet", soundfiles[id], -1); } void sound_playmidi (char *file) -- 2.50.1