I am using the tWave component.
tWave is used for editing and writing sound files (.wav)
The latest version of the tWave component can be found at http://home.bip.net/baxtrom/delphi/wave.zip
The following code loads c:\hugefile.wav into memory, and that occupies 20 megabytes of memory in my case. The problem is, that the line "w.free" does not free the memory used. The memory is released when the application terminates. How can I free the memory immediately?
av'; //This file is 20 megabytes on my computer.
//w.filename is a property. Every time it is changed the file is loaded into memory
I wonder why tWave has no Constructor or Destructor...