• 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
Re: AudioFileWritePackets doesn't write until AudioFileClose
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioFileWritePackets doesn't write until AudioFileClose


  • Subject: Re: AudioFileWritePackets doesn't write until AudioFileClose
  • From: john <email@hidden>
  • Date: Tue, 8 Nov 2005 19:27:26 -0500

Hey Dominic,

Maybe this is overly-simplistic, but what if you manually set the kAudioFilePropertyDeferSizeUpdates and see what happens? That's what I've done in my own usage of AudioFile (peace of mind in case there's a crash?). I thought I remembered running into that problem, so I always set it manually whenever a file is created or opened.

-- John


I have a lot of things working correctly now. Thanks to everybody on the list for their help. There is still one bizarre problem though. AudioFileWritePackets doesn't actually write anything to file until AudioFileClose is called. This is a problem because AudioFileWritePackets keeps consuming memory.

Is there a way to turn this caching off?

The header documentation states that kAudioFilePropertyDeferSizeUpdates is off by default.

I apologize for asking this, because I'm pretty sure I saw this question in the list archives before, while searching on a different problem. I'm unable to find it right now.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40griffintechnology.com


This email sent to email@hidden


_______________________________________________ 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
References: 
 >AudioFileWritePackets doesn't write until AudioFileClose (From: Dominic Feira <email@hidden>)

  • Prev by Date: AudioFileWritePackets doesn't write until AudioFileClose
  • Next by Date: Re: AudioFileWritePackets doesn't write until AudioFileClose
  • Previous by thread: AudioFileWritePackets doesn't write until AudioFileClose
  • Next by thread: Re: AudioFileWritePackets doesn't write until AudioFileClose
  • Index(es):
    • Date
    • Thread