Part Number:TMS320DM365
Tool/software: Linux
Hi TI Experts,
My customer face on the short audio capture data issue. I summary the confirmed points as below.
1. It seems that the cause is the "snd_pcm_readi()" function bacause this function was returned before the frame data was filled. i.e. the capture data duration should be 20ms but this function was returned at 5~6ms when this issue occrred.
2. It depends on the sampling rate of audio data.If set the higher rate, it is likely to occur this issue.
Please let me confirm the following question.
[Question.1-1]
If there is no PCM data on buffer, the return value of snd_pcm_readi() shoul be "-32".
Is this understanding correct?
[Question.1-2]
If my understanding is correct,what is the cause that the send_cpm_readi() returns the "320" value even though the data could not get?
[Questin.1-3]
What is the cause that the return value of "-32"(EPIPE) on "send_pcm_readi()" is happen?
Best regards.
Kaka