You *might* be able to do it with a combination of configuration files and command line to switch from one card to another.
Read
http://alsa.opensrc.org/MultipleCard...sound_cards:_2
Start at "Multiple Sound Cards -- Example on Debian GNU/Linux" and read through to "Example commands and options for selecting sound cards".
The link referenced above doesn't state that you can switch while and application is running. It just tells how to switch from one card to another.
Trying in on the fly is up to you.
Good luck.