Hello all:
As title, my OS is Android 4.2.2, my kernel log has showing ALSA device as below:
[ 3.727661] ALSA device list:
[ 3.731018] #0: tablet
[ 3.734039] #1: OMAPHDMI
[ 3.737573] asoc: omap-hdmi-hifi <-> omap-hdmi-audio-dai mapping ok
, so when I into Android system, I type tinyplay for hdmi audio, it's work! but Android system has no any sound response when I control it, I suspect the HAL layer not match.
logcat log when I control volume bar:
W/AudioPolicyManagerBase( 97): getDeviceForVolume() invalid device combination: 00000000
W/AudioPolicyManagerBase( 97): getDeviceForVolume() invalid device combination: 00000000
W/AudioPolicyManagerBase( 97): getDeviceForVolume() invalid device combination: 00000000
W/AudioPolicyManagerBase( 97): getDeviceForVolume() invalid device combination: 00000000
W/AudioPolicyManagerBase( 97): getDeviceForVolume() invalid device combination: 00000000
how do I modify it for my HAL source code.
Thanks a lot!