AVAudioRecorder record in very low volume on some devices.

I have a very mysterious issue, my microphone recording is fine on iPhone X but is very very low volume on iPad pro.

It's not the microphone or the distance to the device or anything like that.

My AVAudioRecorder settings are as followed: let recordSettings = [ AVFormatIDKey: kAudioFormatLinearPCM, AVEncoderAudioQualityKey : AVAudioQuality.max.rawValue, AVLinearPCMBitDepthKey : 16, AVNumberOfChannelsKey : 1, AVSampleRateKey : 44100 ] as [String : Any]

If anyone knows a solution I would be very grateful.

Alright, turns out the issue is with adding audio to the ARKit session. No solution yet but at least found the cause.

AVAudioRecorder record in very low volume on some devices.
 
 
Q