Update of /cvsroot/audacity/lib-src/libnyquist
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1094/lib-src/libnyquist
Modified Files:
nyx.c
Log Message:
Added sample block tracking so that they can be freed at Nyquist cleanup
time...watch your memory usage drop back down after applying a Nyquist effect
on a longish bit of audio.
Index: nyx.c
===================================================================
RCS file: /cvsroot/audacity/lib-src/libnyquist/nyx.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- nyx.c 24 Feb 2009 17:14:21 -0000 1.8
+++ nyx.c 26 Feb 2009 03:23:16 -0000 1.9
@@ -498,6 +498,9 @@
// Free excess memory segments - does a gc()
freesegs();
+ // Free unused memory pools
+ falloc_gc();
+
// No longer need the callbacks
nyx_output_cb = NULL;
nyx_os_cb = NULL;
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs