summaryrefslogtreecommitdiff
path: root/recipes/gstreamer/gst-plugin-pulse/dont-overload-pulseaudio.patch
blob: 377a4f95896ed091b5faa260db5efd7b9a68f218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: gst-pulse-0.9.7/src/pulsesink.c
===================================================================
--- gst-pulse-0.9.7.orig/src/pulsesink.c
+++ gst-pulse-0.9.7/src/pulsesink.c
@@ -477,6 +477,8 @@ static guint gst_pulsesink_write(GstAudi
         length -= l;
 
         sum += l;
+
+	usleep( 500 );
     }
 
     pa_threaded_mainloop_unlock(pulsesink->mainloop);