halo olaf.
OM> I managed to reproduce the increase in memory usage and found the bug. Lame was initialised everytime OM> a new file was opened but only closed once when quiting Pd. This, I think, also applies to the Yves OM> linux version. I've fixed this and upladed the archive on my web site (but it's still called 0.4). yes. thats it. memory is no longer growing.
OM> I couldn't reproduce your empty file problem.... I can record as usual and Winamp (2.8) plays all the OM> files as usual. This is on Win2k. You you email me a small mp3 file off the list? hmm.. recording now works again as expected. but i think there are two more things: when i stop recording the console always says 'flushed 1926 bytes' no matter how long i recorded. and i have the feeling that 'truncate' and 'append' make no difference. recording is always appended when i don't close the file and reopen it.
joreg.
OM> Olaf
OM> joreg schrieb:
halo..
thanks olaf for the new version. sory for my delay. ahm.. i tested version 0.4 of [mp3write~] now and have problems recording anything at all. the file that is written to disk has a size >0kb, but winamp and co. say its length is 0. also after stopping recording it always says 'flushed 1796 bytes'. no matter how long i record.
testing shows the same memorybehaviour as before. each time i open>start>stop>close a file memoryuse of pd increases. when i set 'truncate' and use start>stop only memoryusage stays the same.
does that help? joreg.
OM> joreg schrieb:
ok. but i still see pds memoryusage grow continuously even though i am closing each file now after stopping [mp3write~]. that might still be the thing yves mentioned.
OM> Okay, I tried to reimplement Yves' changes into my windows port. So please give it a try again OM> and let me know. Yves, could you plaese try if my port compiles on Linux? It would be nice to OM> get them merged for the future to avoid any confusion between the two versions.
OM> http://www.akustische-kunst.org/puredata/winport/mp3write~.zip
OM> Olaf
OM> _______________________________________________ OM> PD-list mailing list OM> PD-list@iem.kug.ac.at OM> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
--cut here------------------- current: http://vvvv.meso.net llstar: http://joreg.ath.cx
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
--cut here------------------- current: http://vvvv.meso.net allstar: http://joreg.ath.cx