Package: audacious-plugins
Version: 2.3-2

When the payback is paused, the playback loop spins uninterrupted, and
eats 100% CPU. This patch adds a call to g_usleep() during pause to
lower the CPU load.

-- 
Jindrich Makovicka
--- a/src/amidi-plug/amidi-plug.c	2010-04-06 22:03:09.000000000 +0200
+++ b/src/amidi-plug/amidi-plug.c	2010-10-02 09:30:01.941413119 +0200
@@ -611,6 +611,7 @@
         }
 
         g_mutex_unlock (amidiplug_playing_mutex);
+        g_usleep (20000);
         continue;
     }
 

Reply via email to