AnsweredAssumed Answered

IMX6DQ : Recording only recorded 5s, then an error occurs

Question asked by michel cui on Oct 19, 2012
Latest reply on Apr 13, 2018 by Jason Oh

  cpu : imx6DQ ( 4 cpus )

  software : android-R13.4-ga

  kernel : linux-3.0.35

  Audio codec : ES8388

 

  When I was recording 5s or so, there will be errors.And then you can never recording until restart.

 

     LOGCAT :

    

W/AudioRecord( 2131): obtainBuffer timed out (is the CPU pegged?) user=00009c60, server=00009c60

V/MediaRecorder( 2895): getMaxAmplitude

V/MediaRecorder( 2895): getMaxAmplitude

V/MediaRecorder( 2895): getMaxAmplitude

V/MediaRecorder( 2895): getMaxAmplitude

V/MediaRecorder( 2869): getMaxAmplitude

E/audio_hw_primary( 2131): get_next_buffer() pcm_read error -1

W/audio_hw_primary( 2131): ret -1, pcm read error cannot read stream data: I/O error.

E/audio_hw_primary( 2131): get_next_buffer() pcm_read error -1

W/audio_hw_primary( 2131): ret -1, pcm read error cannot prepare channel: Device or resource busy.

E/audio_hw_primary( 2131): get_next_buffer() pcm_read error -1

W/audio_hw_primary( 2131): ret -1, pcm read error cannot prepare channel: Device or resource busy.

E/audio_hw_primary( 2131): get_next_buffer() pcm_read error -1

W/audio_hw_primary( 2131): ret -1, pcm read error cannot prepare channel: Device or resource busy.

V/MediaRecorder( 2869): getMaxAmplitude

 

 

Outcomes