AudioFileInitializeWithCallbacks
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