             }, rejected: { [weak self] in
                 self?.alertCanNotAccessMicrophone()
             })
-
-            /*
-            let audioFileName = NSUUID().UUIDString
-            if let fileURL = NSFileManager.yepMessageAudioURLWithName(audioFileName) {
-
-                voiceFileURL = fileURL
-
-                YepAudioService.sharedManager.shouldIgnoreStart = false
-
-                YepAudioService.sharedManager.beginRecordWithFileURL(fileURL, audioRecorderDelegate: self)
-                
-                state = .Recording
-            }
-             */
-        }
-    }
-
-    /*
-    @objc private func updateAudioPlaybackProgress(timer: NSTimer) {
-
-        if let audioPlayer = audioPlayer {
-            let currentTime = audioPlayer.currentTime
-            audioPlayedDuration = currentTime
-        }
-    }
-     */
+        }
+    }
+
     @IBAction private func playOrPauseAudio(sender: UIButton) {
 
         if AudioBot.playing {

        // 如果进来前有声音在播放，令其停止
        if let audioPlayer = YepAudioService.sharedManager.audioPlayer where audioPlayer.playing {
            audioPlayer.pause()
        }

        if AudioBot.playing {
            AudioBot.stopPlay()


                voiceRecordSampleView.reset()
                sampleValues = []
                audioPlaying = false

                audioPlayedDuration = 0

                voiceIndicatorImageViewCenterXConstraint.constant = 0
