+
igorpadykov
Hi All,
I still have this issue in place. Adding delay is giving side-effect by distorting the original sound at times. Hence adding delay is ruled out. Tested with multiple HDMI cables as well as this issue is reproduced.
This is a sometime reproducible issue. I find few other interesting stuffs which proves that driver side(PCM) data is received by the HDMI audio is not coming.
There is no resolution or video problem in my case. Just by closing the HDMI sound card (from application UI) and opening it again the issue is solved.
Findings:
I played simple wav file from adb shell using tinyplay.
#tinyplay LowBattery.wav -D 0 -d 0 -p 192 -n 8
and observed the hdmi pcm card status using proc entry
root@android:/ # cat /proc/asound/imxhdmisoc/pcm0p/sub0/status
state: RUNNING
owner_pid : 7288
trigger_time: 1438259679.447798509
tstamp : 1438259682.389487843
delay : 6144
avail : 0
avail_max : 768
-----
hw_ptr : 129792
appl_ptr : 135936
in which hw_ptr and appl_ptr are updated according to the available data.
Likewise I checked the same proc entry in HDMI audio played from phone app. the same pointers are updated but no sound is played via HDMI.
These proc entries are soured from struct snd_pcm_runtime runtime which is used in HDMI DMA as well.
I m clueless in finding the solution for this. Will appreciate the feedback from FSL community.
Thanks & Regards
Fasil