Write Audio To Disk From IO Unit

After a couple of days of tears & hair pulling I have a solution. In my code and in other examples I have seen extaudiofilewriteasync was called in the callback for the remoteio unit like so. ** remoteiounit callback ** static OSStatus masterChannelMixerUnitCallback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) … Read more