UPDATE: I have figured this out and posted my solution as an answer to my own question (below) I am trying to write a simple buffer of audio samples to a file using ExtAudioFileWrite in AAC format. I have achieved this with the code below to write a mono buffer to a .wav file - however, I cannot do this for stereo or for AAC files which is what I want to do. Here is what I have so far... CFStringRef fPath; fPath = CFStringCreateWithCString(kCFAllocatorDefault, "/path/to/my/audiofile/audiofile.wav", kCFStringEncodingMacRoman); OSStatus err; int mChannels = 1; UInt32 totalFramesInFile = 100000;