blob: db3d237c58e00801b499aead8e0844e43876b58a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ai,v 1.2 2005/10/13 10:48:01 jmmv Exp $
--- src/xine-engine/audio_out.c.orig 2005-10-08 15:57:49.000000000 +0200
+++ src/xine-engine/audio_out.c
@@ -2103,7 +2103,9 @@ xine_audio_port_t *_x_ao_new_port (xine_
this->audio_loop_running = 1;
pthread_attr_init(&pth_attrs);
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
+#endif
this->audio_thread_created = 1;
if ((err = pthread_create (&this->audio_thread,
|