Success! I've been able to get an audio unit graph to bounce to an AIFF file offline by:
1) removing my remoteIO unit
2) adding a generic output unit to my graph
3) using the ExtAudioFile (this was a gotcha. I had somehow gone down the path of using Audio File Services at first)
4) Making the ExtAudioFileRef use a ABSD with big endian format flag
5) Setting the ExtAudioFile property kExtAudioFileProperty_ClientDataFormat to my audio units ABSD (little endian)
6) creating a buffer inside my bounce loop ( a for loop that looks progresses through all my music events )
7) creating a timestamp using the FillOutAudioTimeStampWithSampleTime helper function
8) Writing a number of frames, and incrementing my sample time
9) freeing the buffer, exiting the loop
9) Closing the audio file.
Phew. Well, goes to show how helpful this mailing list can be, even if I'm just talking to myself :)
Hope this helps someone.
best,
Greg
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