-
Notifications
You must be signed in to change notification settings - Fork 52
Stop failed when click quickly to record and pause #5
Description
Here's my stack Trace :
11-30 16:27:20.674 2436-3017/com. E/MediaRecorder: stop failed: -1007
11-30 16:27:20.675 2436-2436/com. W/System.err: java.lang.RuntimeException: stop failed.
11-30 16:27:20.675 2436-2436/com.W/System.err: at android.media.MediaRecorder.stop(Native Method)
11-30 16:27:20.675 2436-2436/com. W/System.err: at com.github.lassana.recorder.AudioRecorder$PauseRecordTask.doInBackground(AudioRecorder.java:125)
11-30 16:27:20.675 2436-2436/com. W/System.err: at com.github.lassana.recorder.AudioRecorder$PauseRecordTask.doInBackground(AudioRecorder.java:117)
11-30 16:27:20.675 2436-2436/com.W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:295)
11-30 16:27:20.675 2436-2436/com.W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-30 16:27:20.675 2436-2436/com. W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
11-30 16:27:20.675 2436-2436/com. W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
11-30 16:27:20.675 2436-2436/com. W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
11-30 16:27:20.675 2436-2436/com. W/System.err: at java.lang.Thread.run(Thread.java:818)