-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recording input stream to wav directly #14
Comments
Hello. What do you want to do ? Fre;D |
I want to save input in wave file for a long time. In example SimpleRecorder input stream writes to memory and after stop saves to file. So, recording of one hour uses lots of memory. I want to write buffer to wave file directly. |
Hello. |
Hi, please check my code:
|
Indeed, lot of ram are used. Does the ram used increase with time or is it stable to 1,2 gigas ? What if you use cmem (memory manager) instead ?
|
cmem must be the first unit of the main code (program).
It is normal that recording uses lot of ram. |
Hi, after one hour of recording (with cmem and without) programm crashes. Error string is : |
Hello. Thanks to Phoenix fixed bug in uos_AddIntoFile() --> for recording using TFileStream. Added also uos_AddIntoFileFromMem() --> --> for recording using TMemoryStream. |
Hi, SimpleRecorder example writes input stream in memory and saves wav file after clicking stop buttion. How to write input strem directly to wave file ?
The text was updated successfully, but these errors were encountered: