summaryrefslogtreecommitdiff
path: root/audio/ecasound/files/patch-ae
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-26 05:52:15 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-26 05:52:15 +0000
commitc2493667ad95bb6644e7425e4e2d4dc0631f1f72 (patch)
tree502f5e54bf424cb4507bb286a8ef9e904e992627 /audio/ecasound/files/patch-ae
parentAdd tas 1.0, a traffic accounting system that picks up ip and application (diff)
Add ecasound 1.8.5d15, a software package designed for multitrack audio
processing. PR: 23778 Submitted by: The Anarcat <beaupran@iro.umontreal.ca>
Notes
Notes: svn path=/head/; revision=36366
Diffstat (limited to 'audio/ecasound/files/patch-ae')
-rw-r--r--audio/ecasound/files/patch-ae22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/ecasound/files/patch-ae b/audio/ecasound/files/patch-ae
new file mode 100644
index 000000000000..8ca16e10a591
--- /dev/null
+++ b/audio/ecasound/files/patch-ae
@@ -0,0 +1,22 @@
+--- libecasound/eca-session.cpp.orig Mon Dec 4 22:22:22 2000
++++ libecasound/eca-session.cpp Wed Dec 20 01:21:51 2000
+@@ -389,14 +389,18 @@
+ int prio = ::atoi(get_argument_number(1, argu).c_str());
+ if (prio != 0)
+ schedpriority_rep = prio;
+- ecadebug->msg("(eca-session) Raised-priority mode enabled. Locking memory. (prio:" +
++ ecadebug->msg("(eca-session) Raised-priority mode enabled (prio:" +
+ kvu_numtostr(schedpriority_rep) + ")");
+ raisepriority_rep = true;
++#ifdef HAVE_MLOCKALL
+ if (::mlockall (MCL_CURRENT|MCL_FUTURE)) {
+ ecadebug->msg("(eca-session) Warning! Couldn't lock all memory!");
+ }
+ else
+ ecadebug->msg(ECA_DEBUG::system_objects, "(eca-session) Memory locked!");
++#else
++ ecadebug->msg("(eca-session) Memory locking not available.");
++#endif
+ break;
+ }
+