head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.4 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.2 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.4.0.22 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.20 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.18 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.16 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.14 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.10 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.8 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.6 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.4 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.2 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2012.11.03.01.54.55; author ryoon; state dead; branches; next 1.4; 1.4 date 2010.02.01.15.00.20; author jmcneill; state Exp; branches; next 1.3; 1.3 date 2008.12.24.04.11.17; author dsainty; state Exp; branches; next 1.2; 1.2 date 2008.12.23.19.29.29; author jmcneill; state Exp; branches; next 1.1; 1.1 date 2008.12.18.14.42.56; author jmcneill; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.12.18.14.42.56; author jmcneill; state Exp; branches; next ; desc @@ 1.5 log @Update to 2.1 * Tested on NetBSD/i386 5.1, /i386 6.0, and /amd64 6.99.13 * Also tested on OpenIndiana/i386 151a7, but my environment lacks audio device, so I cannot check audio output * Tested with multimedia/mplayer's -ao pulse option, works fine * Add gm4 to USE_TOOLS for OpenIndiana build Changelog: Many changes. See http://www.freedesktop.org/wiki/Software/PulseAudio . @ text @$NetBSD: patch-ac,v 1.4 2010/02/01 15:00:20 jmcneill Exp $ --- src/daemon/start-pulseaudio-x11.in.orig 2010-02-01 14:16:08.000000000 +0000 +++ src/daemon/start-pulseaudio-x11.in @@@@ -21,7 +21,7 @@@@ set -e [ -z "$PULSE_SERVER" ] -@@PA_BINARY@@ --start "$@@" +@@PA_BINARY@@ -D "$@@" if [ x"$DISPLAY" != x ] ; then @ 1.4 log @Update pulseaudio to 0.9.21. Too many changes to list here: http://pulseaudio.org/milestone/0.9.15 http://pulseaudio.org/milestone/0.9.16 http://pulseaudio.org/milestone/0.9.17 http://pulseaudio.org/milestone/0.9.18 http://pulseaudio.org/milestone/0.9.19 http://pulseaudio.org/milestone/0.9.20 http://pulseaudio.org/milestone/0.9.21 @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @The rtstutter test is afunctional for all operating systems but one. Make it go one operating system further. Old patch-ac disabled the guts of tests/rtstutter.c for all but Linux. But it isn't that portable on Linux either as it stands, and errors out (on EeePC) at link time with: rtstutter.c:(.text+0xbd): undefined reference to `pthread_setaffinity_np' Just bring Linux in line with other platforms by changing the #ifdef __linux__ to #if 0. Doesn't deserve a revision bump. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2008/12/23 19:29:29 jmcneill Exp $ d3 3 a5 4 --- src/tests/rtstutter.c.orig 2008-08-19 17:25:05.000000000 -0400 +++ src/tests/rtstutter.c 2008-12-23 13:25:08.000000000 -0500 @@@@ -42,6 +42,7 @@@@ static int msec_lower, msec_upper; static void* work(void *p) PA_GCC_NORETURN; d7 1 a7 4 static void* work(void *p) { +#if 0 cpu_set_t mask; struct sched_param param; d9 2 a10 6 @@@@ -83,10 +84,11 @@@@ static void* work(void *p) { } while (now.tv_sec < end.tv_sec || (now.tv_sec == end.tv_sec && now.tv_nsec < end.tv_nsec)); } +#endif } d12 1 a12 3 int main(int argc, char*argv[]) { - int n; + int n, ncpus; a13 16 srand((unsigned) time(NULL)); @@@@ -106,7 +108,12 @@@@ int main(int argc, char*argv[]) { pa_log_notice("Creating random latencies in the range of %ims to %ims.", msec_lower, msec_upper); - for (n = 1; n < sysconf(_SC_NPROCESSORS_CONF); n++) { +#ifdef _SC_NPROCESSORS_CONF + ncpus = sysconf(_SC_NPROCESSORS_CONF); +#else + ncpus = 1; +#endif + for (n = 1; n < ncpus; n++) { pthread_t t; pa_assert_se(pthread_create(&t, NULL, work, PA_INT_TO_PTR(n)) == 0); } @ 1.2 log @Fix build on NetBSD 4.0. @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 +#ifdef __linux__ @ 1.1 log @Initial revision @ text @d4 1 a4 1 +++ src/tests/rtstutter.c d13 1 a13 1 @@@@ -83,6 +84,7 @@@@ static void* work(void *p) { d21 19 @ 1.1.1.1 log @Import pulseaudio version 0.9.13. PulseAudio is a sound server for POSIX and Win32 systems. A sound server is basically a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware. Things like transferring the audio to a different machine, changing the sample format or channel count and mixing several sounds into one are easily achieved using a sound server. @ text @@