svhawks / SceneKitVideoRecorder

Record your SceneKit and ARKit scenes easily.
MIT License
257 stars 56 forks source link

Audio Sample Rate Increase #42

Closed MarcAMartin closed 6 years ago

MarcAMartin commented 6 years ago

Hello,

How do you increase the audio sample rate -- I see the default is 12000

Per var assetWriterAudioInputSettings: [String : Any] { return [ AVFormatIDKey: Int(kAudioFormatMPEG4AAC), AVSampleRateKey: 12000, AVNumberOfChannelsKey: 1, AVEncoderAudioQualityKey: AVAudioQuality.high.rawValue ] }

Thanks, Marc

MarcAMartin commented 6 years ago

I just just created a fork instead.