         sharedBot.playingTimer = timer
     }
 
-    func reportPlayingProgress(sender: NSTimer) {
+    @objc private func reportPlayingProgress(sender: NSTimer) {
 
         guard let audioPlayer = audioPlayer else {
             return


        print("AudioBot audioRecorderEncodeErrorDidOccur: \(error)")

        AudioBot.cleanRecording()
    }
}


        audioRecorder.stop()

        finish(fileURL: audioRecorder.url, duration: duration, decibelSamples: sharedBot.decibelSamples)
    }

    public class func compressDecibelSamples(decibelSamples: [CGFloat], withMaxNumberOfDecibelSamples maxNumberOfDecibelSamples: Int) -> [CGFloat] {
