changeset 668:c9b66c710283

[gaim-migrate @ 678] i think i finally fixed the problems plaguing sound committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 11 Aug 2000 05:15:43 +0000
parents 45ed2ca0756e
children e871081839d0
files src/sound.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sound.c	Fri Aug 11 03:17:31 2000 +0000
+++ b/src/sound.c	Fri Aug 11 05:15:43 2000 +0000
@@ -141,8 +141,6 @@
 {
 	esd_format_t format = ESD_BITS16 | ESD_STREAM | ESD_PLAY | ESD_MONO;
 
-	if (!check_dev("/dev/dsp")) return 0;
-	
         esd_fd = esd_play_stream(format, 8012, NULL, "gaim");
 
         if (esd_fd < 0) {
@@ -266,6 +264,8 @@
                         play_audio(data, size);
                         _exit(0);
                 }
+
+		_exit(0);
         } else {
                 gtk_timeout_add(100, (GtkFunction)clean_pid, NULL);
         }