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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,751 Views
michelcui
Contributor I

  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

 

Labels (2)
0 Kudos
3 Replies

818 Views
jasonoh
Contributor II

Good Day!

My name is Jason Oh from South Korea.

Did somebody solve this problem ?

I have ported android 7.1.2 to IMX6DQ with WM8960 codec.

I have facing same issue.

Can somebody help me?

Best Regards.

Jason Oh

0 Kudos

818 Views
daiane_angolini
NXP Employee
NXP Employee

Is there any message from kernel? Can you share your dmesg?

Have you double checked if you have free space on your SDCard?

0 Kudos

818 Views
manishbadarkhe
Contributor I

Hi

We are also facing almost same issue. Is there any resolution for this issue?

Thanks

Manish Badarkhe

0 Kudos