esound r511 - trunk



Author: jmouette
Date: Tue Nov 18 20:09:38 2008
New Revision: 511
URL: http://svn.gnome.org/viewvc/esound?rev=511&view=rev

Log:
        * esd.c: (main): save a call to esd_audio_pause when run with  
        -nobeeps.


Modified:
   trunk/ChangeLog
   trunk/esd.c

Modified: trunk/esd.c
==============================================================================
--- trunk/esd.c	(original)
+++ trunk/esd.c	Tue Nov 18 20:09:38 2008
@@ -997,14 +997,9 @@
 		esd_audio_write( output_buffer, esd_buf_size_octets );
 	    }
 	}
+	esd_audio_pause();
     }
 
-    /* put some stuff in the sound driver before pausing */
-    esd_audio_write( NULL, 0);
-
-    /* pause the sound output */
-    esd_audio_pause();
-
     /* Startup succeeded */
     if(esd_spawnpid)
       kill(esd_spawnpid, SIGUSR1);



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