• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioQueue Memory Leak Problem in Apples Samplecode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioQueue Memory Leak Problem in Apples Samplecode?


  • Subject: AudioQueue Memory Leak Problem in Apples Samplecode?
  • From: Klaus Kobald <email@hidden>
  • Date: Wed, 5 Nov 2008 08:43:30 +0100

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.
http://kobald.com/osx_develop/AudioQueueEatingMemory.zip

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
http://studio.kobald.com/

Software Department
http://software.kobald.com/

- Publish Yourself -
- http://www.epubli.de/

- Create Your Personal Photobook -
- http://www.myphotobook.de/index.php?m=kob&enter=mandant

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AudioQueue Memory Leak Problem in Apples Samplecode?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: General question
  • Next by Date: Playback of appple lossless on iphone
  • Previous by thread: Re: General question
  • Next by thread: Re: AudioQueue Memory Leak Problem in Apples Samplecode?
  • Index(es):
    • Date
    • Thread