Change audio output at runtime

Is there any api function to change audio output during runtime (switch from HDMI to analoh output) ?
If not , can info-beamer use default alsa output ? With this way, an external software could maybe use alsa controler to swith from one output to an other ?

Unfortunately at the moment neither is possible.