We are trying to use Cactus Player in Android 9 to play video clips to HDMI. This is fine actually.
However, at kernel_imx device tree, if we remove the wm8524 codec node. The cactus player will freeze when open the video clips. Is it possible to have cactus player play video clips without wm8524 in device tree?
We output to HDMI and there is already a hdmi audio in kernel device tree and hal layer. Plus, we have an sgtl5000 sound card in hal layer and kernel device tree as well. However, it seems that wm8524 has to be defined in kernel device tree to make the cactus player work.
Probably it freezes because the Cactus player needs an audio card to function. If you want to use another audio card. You will need to add corresponding code to android HAL: <Android build dir>/hardware/imx/alsa/tinyalsa_hal.c. We provided a document to guide where the customer learn how to add a new codec to the Android HAL. It is a little bit old, but, hopefully it could help. Just to remark that this kind of modification to our BSP is out of our scope of support.