-Hi, my name is Claudeir, I'm happy to help you!
The system does not provide a way to do this ''mirroring'' from Android to PC. The closest way the system can do this is using the Your phone app, but it will stream the Android audio to your PC as you wish.
You can feel free to look for third-party software, but I find it hard to find something that can do it exactly the way you want it.
I think it's easier for you to look for other means, for example, for which applications exactly do you want the audio from your smartphone to be transmitted to your PC in real time? For Whatsapp, for example, you can use the Whatsapp app on your PC downloaded from the Microsoft Store.
-Feel free to leave your opinion, marking as answered if the answer helped, or leaving more details so that we can continue the service, this is very important to us.
Graciously,
Claudeir