GitHub - Xiaomi Mi9 Stereo Mod
With this Magisk mod you can hear sound for both the speaker and the earpiece in stereo mod. Original module by acervenky for Mi 8, modified for Mix 3 by Nukeclears and for the Mi 9 by me.
The mod is availavle in the Magisk store, and you can directly download it from there.