65d5ed7ecf
This is version 1rc0anb3.
14 lines
525 B
Text
14 lines
525 B
Text
$NetBSD: patch-ai,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $
|
|
|
|
--- src/xine-engine/audio_out.c.orig 2003-04-06 10:23:10.000000000 +1000
|
|
+++ src/xine-engine/audio_out.c
|
|
@@ -1671,7 +1671,9 @@ xine_audio_port_t *ao_new_port (xine_t *
|
|
this->audio_loop_running = 1;
|
|
|
|
pthread_attr_init(&pth_attrs);
|
|
+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
|
|
pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM);
|
|
+#endif
|
|
|
|
if ((err = pthread_create (&this->audio_thread,
|
|
&pth_attrs, ao_loop, this)) != 0) {
|