Pisound on Pi running embedded Android

Hello there, I would be interested in a short assessment regarding the amount of work needed to get Pisound to work inside an embedded Android-on-Pi, such as Emteria, Lineage etc. Ideally, existing Android applications would read and output sound / MIDI using Pisound, and not via the default Raspi ports. Thank you

The required things for the OS to recognize Pisound is the device tree overlay and the Pisound kernel module. I don’t know what it would take to get this (or maybe if it already is, as these things are included within the main Raspberry Pi kernel tree) available for Android images for Pi.

If those are available and loaded, Pisound will be usable as a standard ALSA audio card. Then the rest will depend on whether the system software is configured to use it.