imx playback of sound is working on Android 7.1 but I see errors in log

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

imx playback of sound is working on Android 7.1 but I see errors in log

692 Views
tylernol
Contributor IV

I am getting sound playback fine through the ti codec I have connected, however I see many occurrences of the following error in the logs:

```

-01 16:40:59.492   231   280 I audio_hw_primary: start_output_stream_primary... -1467664640, device 2

01-01 16:40:59.504   231   280 W audio_hw_primary: card 0, port 0 device 0x2

01-01 16:40:59.504   231   280 W audio_hw_primary: rate 44100, channel 2 period_size 0xc0

01-01 16:40:59.505   231   279 W audio_hw_primary: ret -32, pcm write 768 error start error: hw 0x0 app 0x0 avail 0x0

01-01 16:40:59.505   231   279 W audio_hw_primary: : Unknown error -32

01-01 16:40:59.718   231   283 W audio_hw_primary: In channels 1, rate 44100, devices 0x80000004

01-01 16:40:59.718   231   283 W audio_hw_primary: get_input_buffer_size size = 192, channel_count = 1

01-01 16:40:59.718   231   283 W audio_hw_primary: get_input_buffer_size size = 192, channel_count = 1

01-01 16:40:59.803   231  1771 W audio_hw_primary: in_set_parameters input_source=1;routing=-2147483644

```

I will do some more digging on this but any theories?

Labels (3)
0 Kudos
2 Replies

470 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, we cannot provide you support for that type of problem. I apologize for this inconvenient. For that, I recommend you to go with the person who provided you the codec and the driver.

Best Regards,

Diego.

0 Kudos

470 Views
tylernol
Contributor IV

this appears to be occurring in pcm_write_wrapper in tinyalsa_hal.c on the first write attempt but the write is attempted again and succeeds?

0 Kudos