Hi, > ao_data.samplerate = ao->outputStreamBasicDescription.mSampleRate; > - ao_data.channels = ao->outputStreamBasicDescription.mChannelsPerFrame; > + ao_data.channels = channels; A little complaint: that tab instead of spaces breaks intendation. Try to avoid that. Greetings, Reimar Döffinger