• 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
AudioFileInitializeWithCallbacks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioFileInitializeWithCallbacks


  • Subject: AudioFileInitializeWithCallbacks
  • From: Norman Franke <email@hidden>
  • Date: Mon, 23 Jul 2007 12:44:59 -0700

I've modified CAAudioFile.cpp (in /Developer/Examples/CoreAudio/PublicUtility) to call AudioFileInitializeWithCallbacks instead of AudioFileCreate to enable writing the file to a RAM buffer, which I'll then stream. My code (based on afconvert) can successfully use AudioFileOpenWithCallbacks to read from a buffer, but the call to AudioFileInitializeWithCallbacks always fails with 'wht?' or kAudioFileUnspecifiedError.

None of my four callbacks are being called (and that work for AudioFileOpenWithCallbacks) and the same file type and description are being bassed to AudioFileInitializeWithCallbacks that were being passed to AudioFileCreate originally.

Has anyone used AudioFileInitializeWithCallbacks successfully?

-Norman

_______________________________________________
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: AudioFileInitializeWithCallbacks
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: HALPlugIn::Initialize appears to be freezing
  • Next by Date: Re: AudioFileInitializeWithCallbacks
  • Previous by thread: Re: trying to playback dv audio via audioconverter + default output
  • Next by thread: Re: AudioFileInitializeWithCallbacks
  • Index(es):
    • Date
    • Thread