[xiph-cvs] cvs commit: vorbis-tools/ogg123 buffer.c

Kenneth C. Arnold kcarnold at xiph.org
Thu Jun 21 20:57:17 PDT 2001



kcarnold    01/06/21 20:57:16

  Modified:    ogg123   Tag: kcarnold_work buffer.c
  Log:
  Activated one more optimization (oops...)

Revision  Changes    Path
No                   revision

No                   revision

1.7.2.2   +5 -3      vorbis-tools/ogg123/buffer.c

Index: buffer.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/buffer.c,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -u -r1.7.2.1 -r1.7.2.2
--- buffer.c	2001/06/22 03:55:36	1.7.2.1
+++ buffer.c	2001/06/22 03:57:16	1.7.2.2
@@ -248,16 +248,18 @@
 
 void buffer_shutdown (buf_t *buf)
 {
-  struct timeval tv;
+  /*  struct timeval tv;*/
 
   DEBUG0("shutdown buffer");
   buf->status |= STAT_SHUTDOWN;
   while (buf->status != 0)
     {
       DEBUG0("waiting on reader to quit");
-      tv.tv_sec = 1;
+      /*      tv.tv_sec = 1;
       tv.tv_usec = 0;
-      select (0, NULL, NULL, NULL, &tv);
+      select (0, NULL, NULL, NULL, &tv);*/
+
+      pause();
     } 
 #ifndef HAVE_SMMAP
   /* Deallocate the shared memory segment. */

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list