ExtAudioFileSetProperty(inputExtFile,
kExtAudioFileProperty_ClientDataFormat,
sizeof(clientFormatDesc),
&clientFormatDesc);
I've found, from developing my own code and working with the ConvertFile example from the CA SDK, that this step is necessary, taking the ASBD of whichever side of the conversion is PCM and setting it as the "client data format" property on both the source and the target ExtAudioFiles. But why am I doing this, i.e., why is it not sufficient that we set up the ExtAudioFiles with different ASBDs, which describe the input and output formats?
Similarly, how would I set this property if both sides of my conversion were PCM, i.e., if I were converting from 2-channel 44.1 KHz to 1-channel 22.05 KHz?
Thanks in advance.
--Chris