loonix/another_audio_recorder

crash when use aac format

libinliu2013 opened this issue · 10 comments

D/AudioRecord(19201): mAudioRecord->stop()
E/AndroidRuntime(19201): FATAL EXCEPTION: Audio Processing Thread
E/AndroidRuntime(19201): Process: com.alone.host, PID: 19201
E/AndroidRuntime(19201): java.lang.IllegalStateException
E/AndroidRuntime(19201): at android.media.MediaCodec.releaseOutputBuffer(Native Method)
E/AndroidRuntime(19201): at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:2871)
E/AndroidRuntime(19201): at com.loonix.another_audio_recorder.AACRecordThread.handleCodecOutput(AACRecordThread.java:226)
E/AndroidRuntime(19201): at com.loonix.another_audio_recorder.AACRecordThread.run(AACRecordThread.java:150)
E/AndroidRuntime(19201): at java.lang.Thread.run(Thread.java:919)
I/Process (19201): Sending signal. PID: 19201 SIG: 9
Lost connection to device.

Hey, thanks for this but could you give me a bit more information like a sample app with that bug so I can quickly investigate it

I am in the process of upgrading to version 3 on my projects, so if I find it I will give it a fix.. but hard to see if I dont get it