[xiph-commits] r9138 - trunk/MTG

xiphmont at motherfish-iii.xiph.org xiphmont at motherfish-iii.xiph.org
Thu Apr 14 12:30:42 PDT 2005


Author: xiphmont
Date: 2005-04-14 12:30:40 -0700 (Thu, 14 Apr 2005)
New Revision: 9138

Modified:
   trunk/MTG/soundboard.c
Log:
Starting two cache threads is a bad idea.



Modified: trunk/MTG/soundboard.c
===================================================================
--- trunk/MTG/soundboard.c	2005-04-14 03:10:59 UTC (rev 9137)
+++ trunk/MTG/soundboard.c	2005-04-14 19:30:40 UTC (rev 9138)
@@ -3844,7 +3844,8 @@
   dup2(ttypipe[0],0);
 
   pthread_create(&tty_thread_id,NULL,tty_thread,NULL);
-  
+
+#if (MAX_OUTPUT_CHANNELS)  
   {
     pthread_t dummy;
     playback_active=1;
@@ -3861,8 +3862,6 @@
   }
 #endif
 
-  pthread_create(&cache_thread_id,NULL,cache_thread,NULL);
-
   /* load the sound config if the file exists, else create it */
   initscr(); cbreak(); noecho();
   nonl();



More information about the commits mailing list