Getting cal_result of -22 when using Java app/AudioManager to do run time audio calibration for HDMI COPP module. I followed the run time audio calibration sample from SDK, the method works fine with the same module on headset. The sam module also works ok on HDMI with QACT tool, just having problem with Java app using AudioManager. Do I need to setup AudioManager differently for HDMI? Thanks.
cal_devid was set to HDMI device ID. Also verified cal_topoid, cal_moduleid and cal_paramid.
Got it working. I used the Device ID from QACT tool as cal_devid, that worked well for headset, but didn't work for HDMI. Now I use AUDIO_DEVICE_OUT_HDMI in system/audio.h as cal_devid and it works.