         }
 
         // Create destination file
-        error = ExtAudioFileCreateWithURL(
-            outputURL as CFURL,
-            format,
-            &dstFormat,
-            nil,
-            AudioFileFlags.eraseFile.rawValue, // overwrite old file if present
-            &destinationFile)
+        error = ExtAudioFileCreateWithURL(outputURL as CFURL,
+                                          format,
+                                          &dstFormat,
+                                          nil,
+                                          AudioFileFlags.eraseFile.rawValue, // overwrite old file if present
+                                          &destinationFile)
 
         if error != noErr {
             completionHandler?(createError(message: "Unable to create output file."))

        writerInput.requestMediaDataWhenReady(on: queue, using: {
            var processing = true // safety flag to prevent runaway loops if errors

            while writerInput.isReadyForMoreMediaData && processing {
                if reader.status == .reading,
                    let buffer = readerOutput.copyNextSampleBuffer() {
                    writerInput.append(buffer)

                }
            }
        }

        public var channels: UInt32?
        public var isInterleaved: Bool?
        /// overwrite existing files, set false if you want to handle this before you call start()
