Stereo recording in WWDC20-10226 example project creates distorted audio recordings

When running the example project from the WWDC20 session "Record stereo audio with AVAudioSession", I get a broken soundfile. It sounds heavily distorted. Here is a link to an example file:

https://www.dropbox.com/s/r0l2wdloqw33j95/recording.wav?dl=0

The distortion affects both the left and right channel equally.

This is on an iPhone XS with the first iOS 14 beta. I first suspected that maybe one of the microphones on my device is broken, but I checked by manually recording with the Front, Back and Bottom microphones, and each of these individual recordings is fine. Mono recording in the example app also works fine.

It seems like this is a DSP bug on the iPhone XS. Could you confirm this is the case, or provide me further guidance to debug the issue?
This is definitely not the intended behavior. Please file a bug report with Feedback assistant and we'll investigate.
Thanks, I've done so.
Stereo recording in WWDC20-10226 example project creates distorted audio recordings
 
 
Q