Configure multiple audio outputs in HiKey960

Hi,

I am using android 11 in the HiKey960 board. By default, sound card listed as follows.

0 [hikeysndcard ]: hikey-sndcard - hikey-sndcard
hikey-sndcard
hikey960:/ $

I configued ALSA loopback by adding CONFIG_SND_ALOOP=y in kernel code and then sound cards listed as below.

0 [Loopback ]: Loopback - Loopback
Loopback 1
1 [hikeysndcard ]: hikey-sndcard - hikey-sndcard
hikey-sndcard
hikey960:/ $

Now, my requirement is to route two different audio streams to two different sound cards. Is it possible to do the same? If so, how can we achieve that?

My basic doubt is that how sound cards are mapping to the devices mentioned in audio_policy_configuration.xml? Any idea

Thanks in Advance.