summaryrefslogtreecommitdiff
path: root/audio/audacity-devel/files/patch-portaudio-pa_unix.c
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2009-02-02 06:28:46 +0000
committerBeech Rintoul <beech@FreeBSD.org>2009-02-02 06:28:46 +0000
commit7eb318e4de4b89e90a65bfc90fe07b6aac3c3b10 (patch)
tree05cdd46bd80dc778fa5b475ec2a9e64f69df0d72 /audio/audacity-devel/files/patch-portaudio-pa_unix.c
parentFix distfile location for fetch target (diff)
- Update to 1.3.7
- Fix plist PR: ports/131239 Submitted by: Jack <xxjack12xx@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=227429
Diffstat (limited to 'audio/audacity-devel/files/patch-portaudio-pa_unix.c')
-rw-r--r--audio/audacity-devel/files/patch-portaudio-pa_unix.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/audio/audacity-devel/files/patch-portaudio-pa_unix.c b/audio/audacity-devel/files/patch-portaudio-pa_unix.c
index ff3c8ca818fd..e69de29bb2d1 100644
--- a/audio/audacity-devel/files/patch-portaudio-pa_unix.c
+++ b/audio/audacity-devel/files/patch-portaudio-pa_unix.c
@@ -1,29 +0,0 @@
---- lib-src/portaudio/pa_unix_oss/pa_unix.c.orig Tue Nov 30 21:18:35 2004
-+++ lib-src/portaudio/pa_unix_oss/pa_unix.c Tue Nov 30 21:33:58 2004
-@@ -422,7 +422,7 @@
- maxPri = sched_get_priority_max(SCHEDULER_POLICY);
- if( schp.sched_priority > maxPri ) schp.sched_priority = maxPri;
-
-- if (sched_setscheduler(0, SCHEDULER_POLICY, &schp) != 0)
-+ if (pthread_setschedparam(pahsc->pahsc_WatchDogThread, SCHEDULER_POLICY, &schp) != 0)
- {
- ERR_RPT(("PaHost_WatchDogProc: cannot set watch dog priority!\n"));
- goto killAudio;
-@@ -465,7 +465,7 @@
- lowerAudio:
- {
- struct sched_param schat = { 0 };
-- if( sched_setscheduler(pahsc->pahsc_AudioThreadPID, SCHED_OTHER, &schat) != 0)
-+ if( pthread_setschedparam(pahsc->pahsc_AudioThread, SCHED_OTHER, &schat) != 0)
- {
- ERR_RPT(("PaHost_WatchDogProc: failed to lower audio priority. errno = %d\n", errno ));
- /* Fall through into killing audio thread. */
-@@ -585,7 +585,7 @@
- sched_get_priority_min(SCHEDULER_POLICY)) / 2;
- schp.sched_priority = pahsc->pahsc_AudioPriority;
-
-- if (sched_setscheduler(0, SCHEDULER_POLICY, &schp) != 0)
-+ if (pthread_setschedparam(pahsc->pahsc_AudioThread, SCHEDULER_POLICY, &schp) != 0)
- {
- DBUG(("PortAudio: only superuser can use real-time priority.\n"));
- }