Merge pulseaudio pending patching from #3360
[openwrt/svn-archive/archive.git] / sound / pulseaudio / patches / 004-pthread-setaffinity-np.patch
1 Index: pulseaudio-0.9.13/src/tests/rtstutter.c
2 ===================================================================
3 --- pulseaudio-0.9.13.orig/src/tests/rtstutter.c 2008-08-19 23:25:05.000000000 +0200
4 +++ pulseaudio-0.9.13/src/tests/rtstutter.c 2008-10-08 16:23:38.000000000 +0200
5 @@ -53,7 +53,6 @@ static void* work(void *p) {
6
7 CPU_ZERO(&mask);
8 CPU_SET((size_t) PA_PTR_TO_INT(p), &mask);
9 - pa_assert_se(pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == 0);
10
11 for (;;) {
12 struct timespec now, end;
13 Index: pulseaudio-0.9.13/src/tests/rtstutter.c
14 ===================================================================
15 --- pulseaudio-0.9.13.orig/src/tests/rtstutter.c 2008-08-19 23:25:05.000000000 +0200
16 +++ pulseaudio-0.9.13/src/tests/rtstutter.c 2008-10-08 16:23:38.000000000 +0200
17 @@ -53,7 +53,6 @@ static void* work(void *p) {
18
19 CPU_ZERO(&mask);
20 CPU_SET((size_t) PA_PTR_TO_INT(p), &mask);
21 - pa_assert_se(pthread_setaffinity_np(pthread_self(), sizeof(mask), &mask) == 0);
22
23 for (;;) {
24 struct timespec now, end;