diff src/sound.c @ 1805:caa605e70917

[gaim-migrate @ 1815] i have that sting song, the one they play in the mercedes commercial, stuck in my head. what the hell are the words to that song. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 05 May 2001 10:36:08 +0000
parents bea407767ac1
children 3366311426df
line wrap: on
line diff
--- a/src/sound.c	Sat May 05 00:15:58 2001 +0000
+++ b/src/sound.c	Sat May 05 10:36:08 2001 +0000
@@ -176,16 +176,6 @@
 
 }
 
-static int play_esd_file(char *file)
-{
-	int esd_stat;
-	int fd = open(file, O_RDONLY);
-	if (fd <= 0)
-		return 0;
-	esd_stat = esd_play_file(NULL, file, 1);
-	return esd_stat;
-}
-
 static int can_play_esd()
 {
 	esd_format_t format = ESD_BITS16 | ESD_STREAM | ESD_PLAY | ESD_MONO;
@@ -329,7 +319,7 @@
 			_exit(0);
 		}
 #ifdef ESD_SOUND
-		if (play_esd_file(filename))
+		if (esd_play_file(NULL, filename, 1))
 			_exit(0);
 #endif