Hello,
I am writing again, since there was no response to the original message. The samplecode "AudioQueue Example" from Apples developer site seems to have serious memory leaks. I know, I could do a workarround by running only a fixed number of audioqueues for the lifetime of the program. But it would be really nice to get some code, that shows how to clean up memory after finishing!
Original Post:
I am testing the AudioQueue Example with an endless loop. The memory consumption is going up with each iteration. I added AudioQueueFreeBuffer at the end, but there might be a leak somewhere else.
I put the adapted example on my server.
Does anybody have an idea? What else should be released?
In further tests I found out, that maybe the connection to the audiodevice is taking the memory. But I am not sure.
Thanks, Klaus
............................................................. Klaus Kobald Zieglergasse 13 A-1070 Vienna
Sound Department
Software Department
- Publish Yourself -
- Create Your Personal Photobook -
|