It turns out, ALSA supports duplex mode by simply opening the two devices and polling them at the same time.
Activity
Implement duplex mode API for ALSA (#32)