Alsa-reroute is a project mainly written in C, it's free.
Small script/preloaded lib that intercepts calls to ALSA and force them to open different devices.
404: Not Found