packages/sound/pulseaudio/patches/004-pthread-setaffinity-np.patch
florian 415ea42a7d Merge pulseaudio pending patching from #3360
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 16:30:08 +00:00

25 lines
1.0 KiB
Diff

Index: pulseaudio-0.9.13/src/tests/rtstutter.c
===================================================================
--- pulseaudio-0.9.13.orig/src/tests/rtstutter.c 2008-08-19 23:25:05.000000000 +0200
+++ pulseaudio-0.9.13/src/tests/rtstutter.c 2008-10-08 16:23:38.000000000 +0200
@@ -53,7 +53,6 @@ static void* work(void *p) {
CPU_ZERO(&mask);
CPU_SET((size_t) PA_PTR_TO_INT(p), &mask);
- pa_assert_se(pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == 0);
for (;;) {
struct timespec now, end;
Index: pulseaudio-0.9.13/src/tests/rtstutter.c
===================================================================
--- pulseaudio-0.9.13.orig/src/tests/rtstutter.c 2008-08-19 23:25:05.000000000 +0200
+++ pulseaudio-0.9.13/src/tests/rtstutter.c 2008-10-08 16:23:38.000000000 +0200
@@ -53,7 +53,6 @@ static void* work(void *p) {
CPU_ZERO(&mask);
CPU_SET((size_t) PA_PTR_TO_INT(p), &mask);
- pa_assert_se(pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == 0);
for (;;) {
struct timespec now, end;